This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[committed, PATCH] Append -g -Os rather than overwriting
- From: "H.J. Lu" <hongjiu dot lu at intel dot com>
- To: binutils at sourceware dot org
- Date: Mon, 16 Mar 2015 08:46:52 -0700
- Subject: [committed, PATCH] Append -g -Os rather than overwriting
- Authentication-results: sourceware.org; auth=none
- Reply-to: "H.J. Lu" <hjl dot tools at gmail dot com>
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