debian/control: add Rules-Requires-Root: no
[libam7xxx.git] / debian / rules
index 89ba88d..40a7404 100755 (executable)
@@ -1,6 +1,7 @@
 #!/usr/bin/make -f
 # -*- makefile -*-
 
 #!/usr/bin/make -f
 # -*- makefile -*-
 
+export DEB_BUILD_MAINT_OPTIONS = hardening=+all
 export DEB_LDFLAGS_MAINT_APPEND = -Wl,-Bsymbolic-functions -Wl,--as-needed
 
 %:
 export DEB_LDFLAGS_MAINT_APPEND = -Wl,-Bsymbolic-functions -Wl,--as-needed
 
 %:
@@ -8,7 +9,3 @@ export DEB_LDFLAGS_MAINT_APPEND = -Wl,-Bsymbolic-functions -Wl,--as-needed
 
 override_dh_installchangelogs:
        dh_installchangelogs NEWS
 
 override_dh_installchangelogs:
        dh_installchangelogs NEWS
-
-.PHONY: override_dh_strip
-override_dh_strip:
-       dh_strip --dbg-package=libam7xxx0.1-dbg