diff options
author | Alexey Neyman <stilor@att.net> | 2017-07-13 07:38:03 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-07-13 07:38:03 (GMT) |
commit | 45c5bb0f484cba724be2c6105801dcce9a1a82d9 (patch) | |
tree | 8fd1c8eaa2ef203009d72b6ca6348611dcc5ee1c /packages/newlib/1.17.0/200-fix-mt-cflags.patch | |
parent | 8f8e131d566af1f577d8fb6e62e6f121b7955472 (diff) | |
parent | b32fcf7c1eea890a2bd3f88487f818ba241aabb1 (diff) |
Merge pull request #767 from stilor/packages
Packages
Diffstat (limited to 'packages/newlib/1.17.0/200-fix-mt-cflags.patch')
-rw-r--r-- | packages/newlib/1.17.0/200-fix-mt-cflags.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/packages/newlib/1.17.0/200-fix-mt-cflags.patch b/packages/newlib/1.17.0/200-fix-mt-cflags.patch new file mode 100644 index 0000000..f97ba15 --- /dev/null +++ b/packages/newlib/1.17.0/200-fix-mt-cflags.patch @@ -0,0 +1,26 @@ +diff -urpN newlib-1.17.0.orig/config/mt-d30v newlib-1.17.0/config/mt-d30v +--- newlib-1.17.0.orig/config/mt-d30v 2017-04-11 00:51:26.572757941 -0700 ++++ newlib-1.17.0/config/mt-d30v 2017-04-11 00:55:51.110626527 -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 +diff -urpN newlib-1.17.0.orig/config/mt-gnu newlib-1.17.0/config/mt-gnu +--- newlib-1.17.0.orig/config/mt-gnu 2017-04-11 00:51:26.572757941 -0700 ++++ newlib-1.17.0/config/mt-gnu 2017-04-11 00:55:51.110626527 -0700 +@@ -1,2 +1,2 @@ +-CXXFLAGS_FOR_TARGET = $(CXXFLAGS) $(SYSROOT_CFLAGS_FOR_TARGET) \ ++CXXFLAGS_FOR_TARGET += $(CXXFLAGS) $(SYSROOT_CFLAGS_FOR_TARGET) \ + $(DEBUG_PREFIX_CFLAGS_FOR_TARGET) -D_GNU_SOURCE +diff -urpN newlib-1.17.0.orig/config/mt-ospace newlib-1.17.0/config/mt-ospace +--- newlib-1.17.0.orig/config/mt-ospace 2017-04-11 00:51:26.572757941 -0700 ++++ newlib-1.17.0/config/mt-ospace 2017-04-11 00:55:51.110626527 -0700 +@@ -1,3 +1,3 @@ + # Build libraries optimizing for space, not speed. +- CFLAGS_FOR_TARGET = -g -Os +- CXXFLAGS_FOR_TARGET = -g -Os ++ CFLAGS_FOR_TARGET += -g -Os ++ CXXFLAGS_FOR_TARGET += -g -Os |