Browse Source

fix(debian): hardening no bindnow

jrcoding 4 years ago
parent
commit
f3bbeb51ff
1 changed files with 2 additions and 1 deletions
  1. 2 1
      debian/rules-template

+ 2 - 1
debian/rules-template

@@ -2,7 +2,8 @@
 
 export DH_VERBOSE = 1
 
-export DEB_BUILD_OPTIONS=parallel=4
+export DEB_BUILD_MAINT_OPTIONS = hardening=+all
+export DEB_BUILD_OPTIONS = parallel=4
 
 override_dh_auto_configure:
 	dh_auto_configure -- -DBUILD_SHARED_LIBS=ON -DCMAKE_BUILD_TYPE=RelWithDebInfo -DUA_NAMESPACE_ZERO=FULL -DUA_ENABLE_AMALGAMATION=OFF -DUA_PACK_DEBIAN=ON