[X2Go-Commits] [x2gothinclient] 13/16: debian/rules: modernize respective build flags.

git-admin at x2go.org git-admin at x2go.org
Fri Nov 23 03:08:16 CET 2018


This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to branch master
in repository x2gothinclient.

commit 5a6fa947cf35a87c69ffc3cf75cfbd7d6fa13d78
Author: Mihai Moldovan <ionic at ionic.de>
Date:   Fri Nov 23 02:48:03 2018 +0100

    debian/rules: modernize respective build flags.
---
 debian/changelog | 1 +
 debian/rules     | 9 +++------
 2 files changed, 4 insertions(+), 6 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index b4432ed..1af63e7 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -149,6 +149,7 @@ x2gothinclient (1.5.0.0-0x2go1) UNRELEASED; urgency=low
   * debian/rules:
     - Whitespace only.
     - Switch to building cdmanager/powerej via Qt5.
+    - Modernize respective build flags.
   * debian/compat:
     - Bump DH compat level to 9.
 
diff --git a/debian/rules b/debian/rules
index 183a841..859b684 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,12 +1,9 @@
 #!/usr/bin/make -f
 
-CFLAGS = -Wall -g
+export DEB_BUILD_MAINT_OPTIONS = hardening=+all
+DPKG_EXPORT_BUILDFLAGS = 1
+include /usr/share/dpkg/buildflags.mk
 
-ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
-	CFLAGS += -O0
-else
-	CFLAGS += -O2
-endif
 
 configure: configure-stamp
 configure-stamp:

--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/x2gothinclient.git


More information about the x2go-commits mailing list