summaryrefslogtreecommitdiff
path: root/patches/newlib/linaro-2.1.0-2014.09/200-fix-mt-cflags.patch
blob: f64c170d4e2b889e29410e5955eee63504ae8f9a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
diff -urpN newlib-linaro-2.1.0-2014.09.orig/config/mt-d30v newlib-linaro-2.1.0-2014.09/config/mt-d30v
--- newlib-linaro-2.1.0-2014.09.orig/config/mt-d30v	2017-04-11 00:51:28.188768929 -0700
+++ newlib-linaro-2.1.0-2014.09/config/mt-d30v	2017-04-11 00:55:51.142626761 -0700
@@ -1,4 +1,4 @@
 # Build libraries optimizing for space, not speed.
 # Turn off warnings about symbols named the same as registers
- CFLAGS_FOR_TARGET = -g -Os -Wa,-C
- CXXFLAGS_FOR_TARGET = -g -Os -Wa,-C
+ CFLAGS_FOR_TARGET += -g -Os -Wa,-C
+ CXXFLAGS_FOR_TARGET += -g -Os -Wa,-C
diff -urpN newlib-linaro-2.1.0-2014.09.orig/config/mt-gnu newlib-linaro-2.1.0-2014.09/config/mt-gnu
--- newlib-linaro-2.1.0-2014.09.orig/config/mt-gnu	2017-04-11 00:51:28.188768929 -0700
+++ newlib-linaro-2.1.0-2014.09/config/mt-gnu	2017-04-11 00:55:51.142626761 -0700
@@ -1 +1 @@
-CXXFLAGS_FOR_TARGET = $(CXXFLAGS) -D_GNU_SOURCE
+CXXFLAGS_FOR_TARGET += $(CXXFLAGS) -D_GNU_SOURCE
diff -urpN newlib-linaro-2.1.0-2014.09.orig/config/mt-ospace newlib-linaro-2.1.0-2014.09/config/mt-ospace
--- newlib-linaro-2.1.0-2014.09.orig/config/mt-ospace	2017-04-11 00:51:28.188768929 -0700
+++ newlib-linaro-2.1.0-2014.09/config/mt-ospace	2017-04-11 00:55:51.142626761 -0700
@@ -1,3 +1,3 @@
 # Build libraries optimizing for space, not speed.
- CFLAGS_FOR_TARGET = -g -Os
- CXXFLAGS_FOR_TARGET = -g -Os
+ CFLAGS_FOR_TARGET += -g -Os
+ CXXFLAGS_FOR_TARGET += -g -Os