diff options
Diffstat (limited to 'packages/newlib/2.0.0/0002-fix-mt-cflags.patch')
-rw-r--r-- | packages/newlib/2.0.0/0002-fix-mt-cflags.patch | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/packages/newlib/2.0.0/0002-fix-mt-cflags.patch b/packages/newlib/2.0.0/0002-fix-mt-cflags.patch new file mode 100644 index 00000000..22c4642d --- /dev/null +++ b/packages/newlib/2.0.0/0002-fix-mt-cflags.patch @@ -0,0 +1,28 @@ +--- + config/mt-d30v | 4 ++-- + config/mt-gnu | 2 +- + config/mt-ospace | 4 ++-- + 3 files changed, 5 insertions(+), 5 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 +--- a/config/mt-gnu ++++ b/config/mt-gnu +@@ -1 +1 @@ +-CXXFLAGS_FOR_TARGET = $(CXXFLAGS) -D_GNU_SOURCE ++CXXFLAGS_FOR_TARGET += $(CXXFLAGS) -D_GNU_SOURCE +--- a/config/mt-ospace ++++ b/config/mt-ospace +@@ -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 |