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 28 29 30 31
|
#!/usr/bin/make -f
include /usr/share/dpkg/architecture.mk
# Disable fixfilepath, as it triggers build failures.
export DEB_BUILD_MAINT_OPTIONS = reproducible=-fixfilepath
ifeq ($(DEB_HOST_ARCH_CPU),i386)
export DEB_CXXFLAGS_MAINT_APPEND = -ffloat-store
endif
ifeq ($(DEB_TARGET_ARCH),arm64)
export DEB_LDFLAGS_MAINT_APPEND = -Wl,-z,gcs-report-dynamic=none
endif
testsuite_failing_archs := sparc64
ifneq (,$(filter $(DEB_HOST_ARCH),$(testsuite_failing_archs)))
fail_param := || true
endif
%:
dh $@ --with pkgkde_symbolshelper
override_dh_auto_configure:
dh_auto_configure -- -DBUILD_TESTS=ON -DLIB_SUFFIX="/$(DEB_HOST_MULTIARCH)"
execute_after_dh_auto_build-arch:
pod2man debian/dh/dh_grantlee > dh_grantlee.1
override_dh_auto_test:
xvfb-run -a dh_auto_test $(fail_param)
|