Skip to content

Commit dcb9f32

Browse files
galaknashif
authored andcommitted
newlib: xtensa fix for CFLAGS_FOR_TARGET
We need to have config files do a += otherwise if we try and set CFLAGS_FOR_TARGET as part of configuring newlib the setting will not propogate. This fix is just for the xtensa newlib version as the upstream version already has this change in place for config/mt-ospace Signed-off-by: Kumar Gala <[email protected]>
1 parent 5bd860f commit dcb9f32

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
config/mt-ospacev | 4 ++--
3+
1 file changed, 2 insertions(+), 2 deletions(-)
4+
5+
--- a/config/mt-ospace 2019-02-14 10:27:54.764350561 -0600
6+
+++ b/config/mt-ospace 2019-02-14 10:28:11.934912980 -0600
7+
@@ -1,3 +1,3 @@
8+
# Build libraries optimizing for space, not speed.
9+
- CFLAGS_FOR_TARGET = -g -Os
10+
- CXXFLAGS_FOR_TARGET = -g -Os
11+
+ CFLAGS_FOR_TARGET += -g -Os
12+
+ CXXFLAGS_FOR_TARGET += -g -Os

0 commit comments

Comments
 (0)