#!/usr/bin/make -f

# force nasm to build PIC objects on x86
ifeq (,$(filter-out amd64 i386,$(DEB_HOST_ARCH_CPU)))
	confflags += --with-pic
endif

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- \
	$(confflags)

#	exit 1

execute_before_dh_install:
	find debian/tmp -name *.la -delete
