summaryrefslogtreecommitdiff
path: root/packages/newlib/2.5.0.20170922/200-fix-mt-cflags.patch
diff options
context:
space:
mode:
authorAlexey Neyman <stilor@att.net>2017-09-28 06:28:23 (GMT)
committerAlexey Neyman <stilor@att.net>2017-09-28 06:28:23 (GMT)
commitea08141d4559a3c20f74f00aea7754f6a2329718 (patch)
treeb19e7ccb0af7d21d6d3fad76488ee85e06c140b4 /packages/newlib/2.5.0.20170922/200-fix-mt-cflags.patch
parente29091ec064fed3e9c922c65cb122b93717185a6 (diff)
Upgrade expat, mpfr, newlib, strace, linux
Signed-off-by: Alexey Neyman <stilor@att.net>
Diffstat (limited to 'packages/newlib/2.5.0.20170922/200-fix-mt-cflags.patch')
-rw-r--r--packages/newlib/2.5.0.20170922/200-fix-mt-cflags.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/packages/newlib/2.5.0.20170922/200-fix-mt-cflags.patch b/packages/newlib/2.5.0.20170922/200-fix-mt-cflags.patch
new file mode 100644
index 0000000..cc15551
--- /dev/null
+++ b/packages/newlib/2.5.0.20170922/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