debian/rules
raw| 1 | #!/usr/bin/make -f |
| 2 | |
| 3 | export DEB_BUILD_MAINT_OPTIONS = hardening=+all |
| 4 | |
| 5 | DEB_HOST_ARCH_CPU ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_CPU) |
| 6 | |
| 7 | ifneq ($(DEB_HOST_ARCH_CPU),amd64) |
| 8 | additional_confflags := --disable-sse |
| 9 | endif |
| 10 | |
| 11 | %: |
| 12 | dh $@ |
| 13 | |
| 14 | override_dh_auto_configure: |
| 15 | dh_auto_configure -- --enable-shared $(additional_confflags) |