X-Git-Url: https://git.ao2.it/libam7xxx.git/blobdiff_plain/d796ba97e0c265b3ac7913e286a224ea2ac6048e..0243e8d210ed1666901f25dea7d087def03f5e51:/debian/rules?ds=inline diff --git a/debian/rules b/debian/rules index 8fa7396..36b1f4a 100755 --- a/debian/rules +++ b/debian/rules @@ -1,9 +1,15 @@ #!/usr/bin/make -f # -*- makefile -*- -DEB_LDFLAGS_MAINT_APPEND=-Wl,-Bsymbolic-functions -Wl,--as-needed -include /usr/share/dpkg/buildflags.mk -export CFLAGS CPPFLAGS LDFLAGS +export DEB_BUILD_MAINT_OPTIONS = hardening=+all +export DEB_LDFLAGS_MAINT_APPEND = -Wl,-Bsymbolic-functions -Wl,--as-needed %: dh $@ + +override_dh_installchangelogs: + dh_installchangelogs NEWS + +.PHONY: override_dh_strip +override_dh_strip: + dh_strip --dbgsym-migration='libam7xxx0.1-dbg (<< 0.1.7-1~)'