summaryrefslogtreecommitdiff
path: root/packages/newlib/2.5.0.20171222/0001-fix-mt-cflags.patch
diff options
context:
space:
mode:
authorAlexey Neyman <stilor@att.net>2018-01-28 19:42:24 (GMT)
committerAlexey Neyman <stilor@att.net>2018-01-29 03:25:47 (GMT)
commit66ad1ff51411c24bfad7c1892f7481a9cdc924f8 (patch)
tree56ba7ceb17e192a9b3eafe01064aeb27f33ab033 /packages/newlib/2.5.0.20171222/0001-fix-mt-cflags.patch
parentba165ed4c0bfa8a83e61a2efd1ad205777978486 (diff)
Upgrade to new releases
android-ndk, binutils, gcc, linux, mpfr, ncurses, newlib, uclibc-ng MPC vs MPFR dependencies required modifications in auto-generated templates to also provide non-inclusive older-than/newer-than specifications. Also correct MPC URLs, the website seems to have adjusted its directory layout. Currently, newlib 3.0.0 doesn't build for arm-nano-eabi. Signed-off-by: Alexey Neyman <stilor@att.net>
Diffstat (limited to 'packages/newlib/2.5.0.20171222/0001-fix-mt-cflags.patch')
-rw-r--r--packages/newlib/2.5.0.20171222/0001-fix-mt-cflags.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/packages/newlib/2.5.0.20171222/0001-fix-mt-cflags.patch b/packages/newlib/2.5.0.20171222/0001-fix-mt-cflags.patch
new file mode 100644
index 0000000..24a9215
--- /dev/null
+++ b/packages/newlib/2.5.0.20171222/0001-fix-mt-cflags.patch
@@ -0,0 +1,13 @@
+---
+ config/mt-d30v | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+--- a/config/mt-d30v
++++ b/config/mt-d30v
+@@ -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