[arachne-pnr] 03/03: Added patch for fixing CXXFLAGS etc.
Ruben Undheim
rubund-guest at moszumanska.debian.org
Wed Oct 14 14:29:29 UTC 2015
This is an automated email from the git hooks/post-receive script.
rubund-guest pushed a commit to branch master
in repository arachne-pnr.
commit 8b31b01acead85314ad06313fe7b366c9738e4b4
Author: Ruben Undheim <ruben.undheim at gmail.com>
Date: Wed Oct 14 16:26:53 2015 +0200
Added patch for fixing CXXFLAGS etc.
---
debian/patches/04_cxxflags.patch | 15 +++++++++++++++
debian/patches/series | 1 +
2 files changed, 16 insertions(+)
diff --git a/debian/patches/04_cxxflags.patch b/debian/patches/04_cxxflags.patch
new file mode 100644
index 0000000..e36c5bf
--- /dev/null
+++ b/debian/patches/04_cxxflags.patch
@@ -0,0 +1,15 @@
+Description: Needed to make sure that CXXFLAGS are propagated from the
+ environment
+Author: Ruben Undheim <ruben.undheim at gmail.com>
+
+--- arachne-pnr-0~20150927gitefdb026.orig/Makefile
++++ arachne-pnr-0~20150927gitefdb026/Makefile
+@@ -9,7 +9,7 @@ OPTDEBUGFLAGS = -O2 # -DNDEBUG
+ SRC = src
+
+ # clang only: -Wglobal-constructors
+-CXXFLAGS = -I$(SRC) -std=c++11 -MD $(OPTDEBUGFLAGS) -Wall -Wshadow -Wsign-compare -Werror
++CXXFLAGS += -I$(SRC) -std=c++11 -Wall -Wshadow -Wsign-compare -Werror
+ LIBS = -lm
+
+ DESTDIR = /usr/local
diff --git a/debian/patches/series b/debian/patches/series
index ea7547b..6ff9a5d 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
01_path_to_icebox.patch
02_dont_run_tests.patch
03_fix_install_dir.patch
+04_cxxflags.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/arachne-pnr.git
More information about the debian-science-commits
mailing list