summaryrefslogtreecommitdiff
path: root/packages/newlib/2.4.0.20161025/0002-fix-mt-cflags.patch
diff options
context:
space:
mode:
authorAlexey Neyman <stilor@att.net>2017-12-02 20:44:39 (GMT)
committerAlexey Neyman <stilor@att.net>2017-12-02 20:44:39 (GMT)
commit98bc4decdeab1361bdc585c86591718fb08c8ffb (patch)
tree4e048ed57988306696efa3c5b81a80d48030e913 /packages/newlib/2.4.0.20161025/0002-fix-mt-cflags.patch
parent2a1935f3ad41d360dd3d96a1b0486083293651dd (diff)
Run all patches through renumbering and update
Signed-off-by: Alexey Neyman <stilor@att.net>
Diffstat (limited to 'packages/newlib/2.4.0.20161025/0002-fix-mt-cflags.patch')
-rw-r--r--packages/newlib/2.4.0.20161025/0002-fix-mt-cflags.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/packages/newlib/2.4.0.20161025/0002-fix-mt-cflags.patch b/packages/newlib/2.4.0.20161025/0002-fix-mt-cflags.patch
new file mode 100644
index 0000000..24a9215
--- /dev/null
+++ b/packages/newlib/2.4.0.20161025/0002-fix-mt-cflags.patch
@@ -0,0 +1,13 @@
+---
+ config/mt-d30v | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+--- a/config/mt-d30v
++++ b/config/mt-d30v
+@@ -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