diff --git a/debian/rules b/debian/rules index a068e013..a26db0ea 100755 --- a/debian/rules +++ b/debian/rules @@ -5,7 +5,7 @@ export DH_VERBOSE = 1 # see FEATURE AREAS in dpkg-buildflags(1) -export DEB_BUILD_MAINT_OPTIONS = hardening=-all +export DEB_BUILD_MAINT_OPTIONS = hardening=+all # see ENVIRONMENT in dpkg-buildflags(1) # package maintainers to append CFLAGS @@ -14,9 +14,9 @@ export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed #disable building debugging symbols -export DEB_CFLAGS_MAINT_STRIP = -g -export DEB_CXXFLAGS_MAINT_STRIP = -g -export DEB_LDFLAGS_MAINT_STRIP = -g +export DEB_CFLAGS_MAINT_STRIP = -g +export DEB_CXXFLAGS_MAINT_STRIP = -g +export DEB_LDFLAGS_MAINT_STRIP = -g %: @@ -27,4 +27,4 @@ export DEB_LDFLAGS_MAINT_STRIP = -g # Use target Release instead of None override_dh_auto_configure: - dh_auto_configure -- -DCMAKE_BUILD_TYPE=Release + dh_auto_configure -- -DCMAKE_BUILD_TYPE=Release -DINTERIM_VERSION=Off