aboutsummaryrefslogtreecommitdiff
path: root/packages/newlib/3.2.0/0001-fix-mt-cflags.patch
diff options
context:
space:
mode:
authorAlexey Neyman <stilor@att.net>2020-02-26 11:07:59 -0800
committerGitHub <noreply@github.com>2020-02-26 11:07:59 -0800
commitc969be1880f99b6da4d98afd7bda641b7868a717 (patch)
tree3e128f23f3098cfaf6d15aa8d8950074f96e5f13 /packages/newlib/3.2.0/0001-fix-mt-cflags.patch
parentb56c868175780326ce39a8201c0e4ad178fa06ac (diff)
parentd978290f39196e7c2c72a154f32681386b4e27b8 (diff)
downloadcrosstool-ng-c969be1880f99b6da4d98afd7bda641b7868a717.tar.gz
crosstool-ng-c969be1880f99b6da4d98afd7bda641b7868a717.tar.bz2
crosstool-ng-c969be1880f99b6da4d98afd7bda641b7868a717.zip
Merge pull request #1309 from stilor/upgrades
Upgrades
Diffstat (limited to 'packages/newlib/3.2.0/0001-fix-mt-cflags.patch')
-rw-r--r--packages/newlib/3.2.0/0001-fix-mt-cflags.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/packages/newlib/3.2.0/0001-fix-mt-cflags.patch b/packages/newlib/3.2.0/0001-fix-mt-cflags.patch
new file mode 100644
index 00000000..24a9215d
--- /dev/null
+++ b/packages/newlib/3.2.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