|
|
|
@ -18,16 +18,24 @@ DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
|
|
|
|
|
DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
|
|
|
|
|
&& echo xz || echo bzip2)
|
|
|
|
|
|
|
|
|
|
# Generic architecture default
|
|
|
|
|
cdbs_configure_flags := --enable-single --disable-dynamic-code --enable-shared --disable-rpath
|
|
|
|
|
|
|
|
|
|
ifneq (,$(findstring x86_64-,$(DEB_BUILD_GNU_TYPE)))
|
|
|
|
|
cdbs_configure_flags := --enable-single --enable-sse --enable-shared --disable-rpath
|
|
|
|
|
else ifneq (,$(findstring arm-,$(DEB_BUILD_GNU_TYPE)))
|
|
|
|
|
ifneq(,$(findstring armhf,$(DEB_HOST_ARCH)))
|
|
|
|
|
endif
|
|
|
|
|
|
|
|
|
|
ifneq (,$(findstring powerpc-,$(DEB_BUILD_GNU_TYPE)))
|
|
|
|
|
cdbs_configure_flags := --enable-single --disable-dynamic-code --enable-shared --disable-rpath
|
|
|
|
|
endif
|
|
|
|
|
|
|
|
|
|
ifneq (,$(findstring arm-,$(DEB_BUILD_GNU_TYPE)))
|
|
|
|
|
ifneq(,$(findstring armhf,$(DEB_HOST_ARCH)))
|
|
|
|
|
cdbs_configure_flags := --enable-single --enable-neon --float_abi=hard --enable-shared --disable-rpath
|
|
|
|
|
else ifneq (,$(findstring aarch64-,$(DEB_BUILD_GNU_TYPE)))
|
|
|
|
|
endif
|
|
|
|
|
ifneq (,$(findstring aarch64-,$(DEB_BUILD_GNU_TYPE)))
|
|
|
|
|
cdbs_configure_flags := --enable-single --enable-neon --float_abi=hard --enable-shared --disable-rpath
|
|
|
|
|
else
|
|
|
|
|
cdbs_configure_flags := --enable-single --enable-shared --disable-rpath
|
|
|
|
|
endif
|
|
|
|
|
endif
|
|
|
|
|
|
|
|
|
|
post-patches:: debian/stamp-bootstrap
|
|
|
|
|
|
|
|
|
|