#!/usr/bin/make -f include /usr/share/dpkg/default.mk ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) CONFIGURE_FLAGS += --disable-optimize endif ifneq (,$(filter $(DEB_HOST_ARCH),amd64 i386)) CONFIGURE_FLAGS += --enable-sse2 endif # Altivec is enabled on ppc64 but disabled on ppc64el, since the Altivec # variant of the recursion in dSFMT-common.h assumes big endian byte order. ifneq (,$(filter $(DEB_HOST_ARCH),powerpc ppc64)) CONFIGURE_FLAGS += --enable-altivec endif export DEB_BUILD_MAINT_OPTIONS = hardening=+bindnow %: dh $@ override_dh_auto_configure: dh_auto_configure -- $(CONFIGURE_FLAGS) override_dh_installchangelogs: dh_installchangelogs CHANGE-LOG.txt