[X2Go-Commits] [pale-moon] 19/21: debian/rules: enable or disable debug symbols when needed.
git-admin at x2go.org
git-admin at x2go.org
Tue May 29 00:03:07 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 6acaeb9f822ccbd188165783558fdd4c269793b9
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 c334921..f80d700 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -18,6 +18,8 @@ palemoon (27.9.2~repack-1-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