[Crosstoolchain-logs] [device-tree-compiler] 01/02: Export triplet-prefixed CC

Hector Oron zumbi at moszumanska.debian.org
Thu Dec 8 17:05:30 UTC 2016


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

zumbi pushed a commit to branch debian/master
in repository device-tree-compiler.

commit d8665a8452880c031398a2b852abb2a10a5b17d4
Author: Helmut Grohne <helmut at subdivi.de>
Date:   Thu Dec 8 17:55:54 2016 +0100

    Export triplet-prefixed CC
    
    Signed-off-by: Héctor Orón Martínez <zumbi at debian.org>
---
 debian/changelog | 7 +++++++
 debian/rules     | 5 +++++
 2 files changed, 12 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 22b0f89..8ca03d8 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+device-tree-compiler (1.4.0+dfsg-2.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Export triplet-prefixed CC, closes: #-1
+
+ -- Helmut Grohne <helmut at subdivi.de>  Thu, 08 Dec 2016 12:23:03 +0100
+
 device-tree-compiler (1.4.0+dfsg-2) unstable; urgency=medium
 
   * Fix out of date homepage url
diff --git a/debian/rules b/debian/rules
index b295a07..c852d3c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -10,6 +10,11 @@
 
 export CFLAGS = -Wall -g -fPIC
 
+include /usr/share/dpkg/architecture.mk
+ifeq ($(origin CC),default)
+export CC = $(DEB_HOST_GNU_TYPE)-gcc
+endif
+
 ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
 	CFLAGS += -O0
 else

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/crosstoolchain/device-tree-compiler.git



More information about the Crosstoolchain-logs mailing list