summaryrefslogtreecommitdiff
path: root/packages/newlib/2.5.0.20170720/200-fix-mt-cflags.patch
diff options
context:
space:
mode:
authorAlexey Neyman <stilor@att.net>2017-08-18 00:47:39 (GMT)
committerAlexey Neyman <stilor@att.net>2017-08-18 02:03:30 (GMT)
commit160e343c68b4ab61b2d3df7ed00019beff59786b (patch)
tree71e7a0f90af098dfa2343b014ebd3edaca58d43b /packages/newlib/2.5.0.20170720/200-fix-mt-cflags.patch
parent31e776c72becf2e1118f4d863f20acbe28c173ad (diff)
Newlib: bump 2.5.0 patchlevel to 20170720
Signed-off-by: Alexey Neyman <stilor@att.net>
Diffstat (limited to 'packages/newlib/2.5.0.20170720/200-fix-mt-cflags.patch')
-rw-r--r--packages/newlib/2.5.0.20170720/200-fix-mt-cflags.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/packages/newlib/2.5.0.20170720/200-fix-mt-cflags.patch b/packages/newlib/2.5.0.20170720/200-fix-mt-cflags.patch
new file mode 100644
index 0000000..cc15551
--- /dev/null
+++ b/packages/newlib/2.5.0.20170720/200-fix-mt-cflags.patch
@@ -0,0 +1,10 @@
+diff -urpN newlib-2.5.0.20170323.orig/config/mt-d30v newlib-2.5.0.20170323/config/mt-d30v
+--- newlib-2.5.0.20170323.orig/config/mt-d30v 2017-04-11 00:51:28.180768874 -0700
++++ newlib-2.5.0.20170323/config/mt-d30v 2017-04-11 00:55:51.138626731 -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