debian/rules
raw| 1 | #!/usr/bin/make -f |
| 2 | # -*- makefile -*- |
| 3 | |
| 4 | export DEB_BUILD_MAINT_OPTIONS = hardening=+all |
| 5 | |
| 6 | archs_that_need_atomic = armel m68k mipsel powerpc sh4 |
| 7 | ifeq ($(DEB_HOST_ARCH),$(findstring $(DEB_HOST_ARCH), $(archs_that_need_atomic))) |
| 8 | export DEB_LDFLAGS_MAINT_APPEND = -Wl,--no-as-needed -latomic -Wl,--as-needed |
| 9 | endif |
| 10 | |
| 11 | %: |
| 12 | dh $@ |
| 13 | |
| 14 | override_dh_auto_configure: |
| 15 | dh_auto_configure -- -DBUILD_QCH=ON -DKF5_HOST_TOOLING=/usr/lib |