| 1 | #!/usr/bin/make -f |
| 2 | |
| 3 | export DEB_BUILD_MAINT_OPTIONS = hardening=+all |
| 4 | export DEB_LDFLAGS_MAINT_APPEND = -Wl,-O1 -Wl,-z,defs |
| 5 | export DPKG_GENSYMBOLS_CHECK_LEVEL = 4 |
| 6 | |
| 7 | # Ubuntu doesn't offer liburing on i386 |
| 8 | ifeq ($(DEB_HOST_ARCH_CPU),i386) |
| 9 | configure_flags += -Dliburing=disabled |
| 10 | endif |
| 11 | |
| 12 | %: |
| 13 | dh $@ |
| 14 | |
| 15 | override_dh_auto_configure: |
| 16 | dh_auto_configure -- \ |
| 17 | -Ddocs=$(if $(filter %-doc,$(shell dh_listpackages)),true,false) \ |
| 18 | -Dgdbus=disabled \ |
| 19 | -Dsysprof=true \ |
| 20 | $(configure_flags) |