Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #27 from bhundven/patchwork-bob-dunlop
Patch newlib-2.xx optimising for space Append flags to CFLAGS_FOR_TARGET rather than replacing.
- Loading branch information
Showing
2 changed files
with
16 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
--- newlib-2.0.0/config/mt-ospace-orig 2014-11-13 12:02:45.463578281 +0000 | ||
+++ newlib-2.0.0/config/mt-ospace 2014-11-13 12:03:01.409592374 +0000 | ||
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
--- newlib-2.1.0/config/mt-ospace-orig 2014-11-13 12:02:45.463578281 +0000 | ||
+++ newlib-2.1.0/config/mt-ospace 2014-11-13 12:03:01.409592374 +0000 | ||
@@ -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 |