[X2Go-Commits] [pale-moon] 02/06: debian/rules: add further CC/CXX overrides (if set to the default value).
git-admin at x2go.org
git-admin at x2go.org
Wed May 30 23:29:09 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 850a1c797721ee3e433d4cd8b8645e2d8cad9de5
Author: Mihai Moldovan <ionic at ionic.de>
Date: Wed May 30 21:53:53 2018 +0200
debian/rules: add further CC/CXX overrides (if set to the default value).
---
debian/changelog | 1 +
debian/rules | 7 +++++++
2 files changed, 8 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index e56a5c5..71dd914 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -22,6 +22,7 @@ palemoon (27.9.2~repack-1-0x2go1) UNRELEASED; urgency=medium
CONFIGURE_FLAGS.
- Add symbol generations hack for debug-noopt builds. Needs further
support for GENSYMBOLS_FLAGS.
+ - Add further CC/CXX overrides (if set to the default value).
* debian/mozconfig:
- Remove autoconf flags that should better be handled by debian/rules.
diff --git a/debian/rules b/debian/rules
index e1a71c3..d25eb82 100755
--- a/debian/rules
+++ b/debian/rules
@@ -66,6 +66,13 @@ ifeq (,$(filter debug noopt,$(DEB_BUILD_OPTIONS)))
GENSYMBOLS_FLAGS := -c4
endif
+ifeq (default,$(origin CC))
+CC := gcc
+endif
+ifeq (default,$(origin CXX))
+CXX := g++
+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