1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
|
#! /usr/bin/make -f
export DEB_CFLAGS_MAINT_APPEND = -I/usr/include/tirpc
CONFIGURE_FLAGS := \
--disable-fem-toolbox \
--without-gpskca \
--without-OpenGL \
--without-gltools \
--without-OpenDX \
--without-grape \
--without-silo
DEB_HOST_ARCH := $(shell dpkg-architecture -qDEB_HOST_ARCH)
ifneq (,$(filter powerpc ppc64 ppc64el,$(DEB_HOST_ARCH)))
export DEB_BUILD_MAINT_OPTIONS=hardening=-stackprotector
CONFIGURE_FLAGS += CC=clang
endif
%:
dh $@
override_dh_auto_configure:
dh_auto_configure -- $(CONFIGURE_FLAGS)
override_dh_strip:
dh_strip --dbgsym-migration='libalberta-dbg (<< 3.0.1-2~)'
|