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-10-01 03:37:22 (GMT)
committerGitHub <noreply@github.com>2017-10-01 03:37:22 (GMT)
commitf966dd855fd8984f333cf7da3c7c137794e1f34c (patch)
treebf0c6d296987c2e21b9ca77e1532c9fb8c5bdb96 /packages/newlib/2.5.0.20170922/200-fix-mt-cflags.patch
parentf86adab1f41b2320c20ffe2e9ffe0c6d12954c33 (diff)
parentca45a8f9abd672189dbef5bcb242ac465df7b0f6 (diff)
Merge pull request #837 from stilor/download-verify
Verification of the downloads
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