| 1 | #!/usr/bin/make -f |
| 2 | # -*- makefile -*- |
| 3 | |
| 4 | export DEB_BUILD_MAINT_OPTIONS = hardening=+all |
| 5 | |
| 6 | # positioncodectest fails on big endian architectures |
| 7 | ifeq (big,$(DEB_HOST_ARCH_ENDIAN)) |
| 8 | fail_param := || true |
| 9 | endif |
| 10 | # general failures not related to endianness |
| 11 | testsuite_failing_archs := \ |
| 12 | armhf \ |
| 13 | loong64 \ |
| 14 | riscv64 \ |
| 15 | |
| 16 | ifneq (,$(filter $(DEB_HOST_ARCH),$(testsuite_failing_archs))) |
| 17 | fail_param := || true |
| 18 | endif |
| 19 | |
| 20 | %: |
| 21 | dh $@ |
| 22 | |
| 23 | override_dh_auto_configure: |
| 24 | dh_auto_configure -- -DBUILD_QCH=ON |
| 25 | |
| 26 | override_dh_auto_test: |
| 27 | - dbus-run-session -- dh_auto_test --buildsystem=kf6 $(fail_param) |