[double-conversion] 02/08: Fix FTCBFS: Use triplet-prefixed compiler.

Mattia Rizzolo mattia at debian.org
Sun Oct 30 18:00:55 UTC 2016


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

mattia pushed a commit to branch master
in repository double-conversion.

commit d76150ccbded163aea057bc45dd325dc9e77e707
Author: Helmut Grohne <helmut at subdivi.de>
Date:   Sun Oct 30 17:50:12 2016 +0000

    Fix FTCBFS: Use triplet-prefixed compiler.
    
    Closes: #842600
---
 debian/rules | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/debian/rules b/debian/rules
index 9e3a924..a36e30e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,6 +2,9 @@
 
 # Get compilation flags from dpkg-buildflags
 include /usr/share/dpkg/default.mk
+ifeq ($(origin CXX),default)
+       CXX = $(DEB_HOST_GNU_TYPE)-g++
+endif
 
 ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
 	NUMJOBS = $(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/double-conversion.git



More information about the debian-science-commits mailing list