From 54098e9952db7ca7709411e7be946e0de8bb1598 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Gallet?= Date: Wed, 10 Apr 2019 13:34:58 +0200 Subject: [PATCH] Change debian rules to fix compilation --- debian/rules | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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