crosstool-ng/packages/newlib/1.18.0/200-fix-mt-cflags.patch
Alexey Neyman 57426168ad Convert the rest of packages to new framework
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-07-08 10:57:56 -07:00

26 lines
1.2 KiB
Diff

diff -urpN newlib-1.18.0.orig/config/mt-d30v newlib-1.18.0/config/mt-d30v
--- newlib-1.18.0.orig/config/mt-d30v 2017-04-11 00:51:26.740759083 -0700
+++ newlib-1.18.0/config/mt-d30v 2017-04-11 00:55:51.114626557 -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-1.18.0.orig/config/mt-gnu newlib-1.18.0/config/mt-gnu
--- newlib-1.18.0.orig/config/mt-gnu 2017-04-11 00:51:26.740759083 -0700
+++ newlib-1.18.0/config/mt-gnu 2017-04-11 00:55:51.114626557 -0700
@@ -1 +1 @@
-CXXFLAGS_FOR_TARGET = $(CXXFLAGS) -D_GNU_SOURCE
+CXXFLAGS_FOR_TARGET += $(CXXFLAGS) -D_GNU_SOURCE
diff -urpN newlib-1.18.0.orig/config/mt-ospace newlib-1.18.0/config/mt-ospace
--- newlib-1.18.0.orig/config/mt-ospace 2017-04-11 00:51:26.740759083 -0700
+++ newlib-1.18.0/config/mt-ospace 2017-04-11 00:55:51.114626557 -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