summaryrefslogtreecommitdiff
path: root/debian/rules
diff options
context:
space:
mode:
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules5
1 files changed, 5 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules
index 48518bb70..b36db7cb8 100755
--- a/debian/rules
+++ b/debian/rules
@@ -5,6 +5,11 @@
export DEB_LDFLAGS_MAINT_APPEND := -Wl,--as-needed
export DEB_BUILD_MAINT_OPTIONS := hardening=+all
+export DEB_CXXFLAGS_MAINT_STRIP := -O3
+export DEB_CFLAGS_MAINT_STRIP := -O3
+export DEB_CXXFLAGS_MAINT_APPEND := -O2
+export DEB_CFLAGS_MAINT_APPEND := -O2
+
# do not fail as we are just experimenting with symbol files for now
export DPKG_GENSYMBOLS_CHECK_LEVEL=0