[X2Go-Commits] [pale-moon] 17/216: debian/rules: add further CC/CXX overrides (if set to the default value).
git-admin at x2go.org
git-admin at x2go.org
Sat Feb 16 02:42:42 CET 2019
This is an automated email from the git hooks/post-receive script.
x2go pushed a commit to branch master
in repository pale-moon.
commit d9f324024f15b238bca67acf6a67842343cfba2a
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