Append -g -Os rather than overwriting

Sync with GCC
	2014-11-17  Bob Dunlop  <bob.dunlop@xyzzy.org.uk>

	* mt-ospace (CFLAGS_FOR_TARGET): Append -g -Os rather than
	overwriting.
	(CXXFLAGS_FOR_TARGET): Similarly.
This commit is contained in:
H.J. Lu 2015-03-16 08:44:41 -07:00
parent b2121c3350
commit bd51a4d557
2 changed files with 11 additions and 2 deletions

View File

@ -1,3 +1,12 @@
2015-03-16 H.J. Lu <hongjiu.lu@intel.com>
Sync with GCC
2014-11-17 Bob Dunlop <bob.dunlop@xyzzy.org.uk>
* mt-ospace (CFLAGS_FOR_TARGET): Append -g -Os rather than
overwriting.
(CXXFLAGS_FOR_TARGET): Similarly.
2015-03-16 H.J. Lu <hongjiu.lu@intel.com>
Sync with GCC

View File

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