[X2Go-Commits] [pale-moon] 09/11: debian/rules: enable or disable debug symbols when needed.

git-admin at x2go.org git-admin at x2go.org
Mon May 28 23:44:16 CEST 2018


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

x2go pushed a commit to branch master
in repository pale-moon.

commit b38067dd68e0af255d68e4bac1fa562fee91118d
Author: Mihai Moldovan <ionic at ionic.de>
Date:   Mon May 28 23:41:26 2018 +0200

    debian/rules: enable or disable debug symbols when needed.
    
    Needs further support for CONFIGURE_FLAGS.
---
 debian/changelog | 2 ++
 debian/rules     | 4 ++++
 2 files changed, 6 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 285564b..4e01b73 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -18,6 +18,8 @@ palemoon (27.9.1a1~0x2go1) obs; urgency=medium
     - Enable or disable optimizations when needed. Needs further support for
       CONFIGURE_FLAGS.
     - Add ppc64 CFLAGS hack.
+    - Enable or disable debug symbols when needed. Needs further support for
+      CONFIGURE_FLAGS.
 
  -- Mihai Moldovan <ionic at ionic.de>  Mon, 28 May 2018 03:44:10 +0200
 
diff --git a/debian/rules b/debian/rules
index a2df4bc..81a9900 100755
--- a/debian/rules
+++ b/debian/rules
@@ -59,6 +59,10 @@ ifneq (,$(filter ia64,$(DEB_BUILD_ARCH)))
 	CONFIGURE_FLAGS += --enable-optimize=-O2
 endif
 
+ifneq (,$(filter debug,$(DEB_BUILD_OPTIONS)))
+	CONFIGURE_FLAGS += --enable-debug
+endif
+
 CXXFLAGS = $(CFLAGS)
 
 EXPORTS := CC CXX CFLAGS CXXFLAGS CPPFLAGS LDFLAGS

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


More information about the x2go-commits mailing list