debian/rules
raw| 1 | #!/usr/bin/make -f |
| 2 | |
| 3 | export DEB_BUILD_MAINT_OPTIONS = hardening=+all |
| 4 | |
| 5 | # make it work on gcc-15 (fix ftbfs - bug #1097393) |
| 6 | CFLAGS+=--std=gnu17 |
| 7 | |
| 8 | %: |
| 9 | dh $@ |
| 10 | |
| 11 | export CPPFLAGS = \ |
| 12 | -DMHASH_ROBUST \ |
| 13 | $(shell dpkg-buildflags --get CPPFLAGS) |
| 14 | |
| 15 | override_dh_auto_configure: |
| 16 | dh_auto_configure -- --enable-pkgconfig |
| 17 | |
| 18 | override_dh_installchangelogs: |
| 19 | dh_installchangelogs NEWS |