summaryrefslogtreecommitdiff
path: root/patches/newlib/2.5.0.20170519/200-fix-mt-cflags.patch
diff options
context:
space:
mode:
authorAlexey Neyman <stilor@att.net>2017-06-05 07:30:35 (GMT)
committerGitHub <noreply@github.com>2017-06-05 07:30:35 (GMT)
commit02f21e8bf37deaab1a836f4afd11c5fc8ee30220 (patch)
tree14f8612734a1b2e44e50afc90e9a7651d2339cd5 /patches/newlib/2.5.0.20170519/200-fix-mt-cflags.patch
parented1d2d6a0e826b172454bae988de79945a67fe24 (diff)
parent6aaa2a1a67d2f105bac21750b02142201052393f (diff)
Merge pull request #734 from stilor/upgrades
Upgrades (a bunch of)
Diffstat (limited to 'patches/newlib/2.5.0.20170519/200-fix-mt-cflags.patch')
-rw-r--r--patches/newlib/2.5.0.20170519/200-fix-mt-cflags.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/patches/newlib/2.5.0.20170519/200-fix-mt-cflags.patch b/patches/newlib/2.5.0.20170519/200-fix-mt-cflags.patch
new file mode 100644
index 0000000..cc15551
--- /dev/null
+++ b/patches/newlib/2.5.0.20170519/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