summaryrefslogtreecommitdiff
path: root/packages/newlib/4.1.0/0001-fix-mt-cflags.patch
diff options
context:
space:
mode:
authorKumar Gala <kumar.gala@linaro.org>2021-04-13 14:27:29 (GMT)
committerChris Packham <judge.packham@gmail.com>2021-04-14 08:15:58 (GMT)
commite7a59c419d2833fd166311b967b6f6bc9962e678 (patch)
treec40c6a2311a211d684f89d881f0957ddf489f57f /packages/newlib/4.1.0/0001-fix-mt-cflags.patch
parent854bb12d58ede969680291eecbc49c1cd7cd0917 (diff)
Update to newlib release 4.1.0
Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
Diffstat (limited to 'packages/newlib/4.1.0/0001-fix-mt-cflags.patch')
-rw-r--r--packages/newlib/4.1.0/0001-fix-mt-cflags.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/packages/newlib/4.1.0/0001-fix-mt-cflags.patch b/packages/newlib/4.1.0/0001-fix-mt-cflags.patch
new file mode 100644
index 0000000..24a9215
--- /dev/null
+++ b/packages/newlib/4.1.0/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