crosstool-ng/packages/newlib/4.3.0.20230120/0001-fix-mt-cflags.patch
Chris Packham 227d99d7f3 newlib: add 4.3.0.20230120
Add the 4.3.0.20230120 and update the required patches. As of this
release the newlib-global-atexit is mandatory so set this to default y.
Included is an upstream patch to support older GCC versions.

Signed-off-by: Chris Packham <judge.packham@gmail.com>
2023-06-04 10:04:33 +12:00

14 lines
405 B
Diff

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