This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[committed, PATCH] Append -g -Os rather than overwriting


Since mt-ospace is only used to compile target libraries and not used
in standalone binutils build, it is OK to use GNU make feature.

H.J.
---
	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.
---
 config/ChangeLog | 9 +++++++++
 config/mt-ospace | 4 ++--
 2 files changed, 11 insertions(+), 2 deletions(-)

diff --git a/config/ChangeLog b/config/ChangeLog
index fdc880c..3003b7e 100644
--- a/config/ChangeLog
+++ b/config/ChangeLog
@@ -1,6 +1,15 @@
 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
 	2014-04-25  Marc Glisse  <marc.glisse@inria.fr>
 
 	PR target/43538
diff --git a/config/mt-ospace b/config/mt-ospace
index 7f09104..ce29ff4 100644
--- a/config/mt-ospace
+++ b/config/mt-ospace
@@ -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
-- 
1.9.3


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]