debian/libam7xxx0.1.symbols: add Build-Depends-Package
[libam7xxx.git] / debian / rules
index c5817c9..a48eb45 100755 (executable)
@@ -1,16 +1,11 @@
 #!/usr/bin/make -f
 # -*- makefile -*-
 
 #!/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
 
 %:
        dh $@
 
 override_dh_installchangelogs:
        dh_installchangelogs NEWS
 
 %:
        dh $@
 
 override_dh_installchangelogs:
        dh_installchangelogs NEWS
-
-.PHONY: override_dh_strip
-override_dh_strip:
-       dh_strip --dbg-package=libam7xxx0.1-dbg