[fpga-icestorm] 06/09: let debian pick CC and CXX

Ruben Undheim rubund-guest at moszumanska.debian.org
Thu Feb 25 23:20:25 UTC 2016


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

rubund-guest pushed a commit to branch master
in repository fpga-icestorm.

commit a6a3271026ad75667c8ed13c9f48c3e0a0856a1b
Author: Sebastian Kuzminsky <seb at highlab.com>
Date:   Tue Feb 23 19:51:38 2016 -0700

    let debian pick CC and CXX
---
 debian/patches/override-CXX.patch | 10 ++++++++++
 debian/patches/series             |  1 +
 2 files changed, 11 insertions(+)

diff --git a/debian/patches/override-CXX.patch b/debian/patches/override-CXX.patch
new file mode 100644
index 0000000..077f320
--- /dev/null
+++ b/debian/patches/override-CXX.patch
@@ -0,0 +1,10 @@
+--- a/config.mk
++++ b/config.mk
+@@ -1,5 +1,5 @@
+-CXX = clang
+-CC = $(CXX)
++CXX ?= clang
++CC ?= $(CXX)
+ DESTDIR ?=
+ PREFIX ?= /usr/local
+ 
diff --git a/debian/patches/series b/debian/patches/series
index 60ec8e0..dd0faf2 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
 01_installpath.patch
 02_spelling_fixes.patch
 03_cxxflags.patch
+override-CXX.patch

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



More information about the debian-science-commits mailing list