crosstool-ng/packages/newlib/2.5.0.20171222/0001-fix-mt-cflags.patch

14 lines
405 B
Diff
Raw Normal View History

---
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