Package: arachne-pnr / 0.1+20160813git52e69ed-1

04_cxxflags.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
From: Ruben Undheim <ruben.undheim@gmail.com>
Date: Mon, 19 Sep 2016 08:03:15 +0200
Subject: Needed to make sure that CXXFLAGS are propagated from the environment

---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index a086a67..5532b86 100644
--- a/Makefile
+++ b/Makefile
@@ -10,7 +10,7 @@ OPTDEBUGFLAGS = -O2
 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