diff options
author | Alexey Neyman <stilor@att.net> | 2017-04-11 23:04:57 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-11 23:04:57 (GMT) |
commit | 8d9babee4f7ff216435fcd569fc9cbee0596356a (patch) | |
tree | 6bb44b8c16a877f492acc59fc7fc6ac4af52d1d6 /patches/newlib/2.4.0.20161025/200-fix-mt-cflags.patch | |
parent | 60c50068483d5a6ef76befeb4518483d753af32b (diff) | |
parent | a1c3039811a0ffc61c2e1b5b085ec7b6ddf8c30a (diff) |
Merge pull request #685 from stilor/newlib-fix
Sort out newlib patches
Diffstat (limited to 'patches/newlib/2.4.0.20161025/200-fix-mt-cflags.patch')
-rw-r--r-- | patches/newlib/2.4.0.20161025/200-fix-mt-cflags.patch | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/patches/newlib/2.4.0.20161025/200-fix-mt-cflags.patch b/patches/newlib/2.4.0.20161025/200-fix-mt-cflags.patch new file mode 100644 index 0000000..dcf6826 --- /dev/null +++ b/patches/newlib/2.4.0.20161025/200-fix-mt-cflags.patch @@ -0,0 +1,10 @@ +diff -urpN newlib-2.4.0.20161025.orig/config/mt-d30v newlib-2.4.0.20161025/config/mt-d30v +--- newlib-2.4.0.20161025.orig/config/mt-d30v 2017-04-11 00:51:27.980767513 -0700 ++++ newlib-2.4.0.20161025/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 |