This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB 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]

[PATCH] sim: common: set up CPPFLAGS/CXXFLAGS/LDFLAGS from configure [PR sim/18762] [committed]


Make sure we pass down the CPP/CXX/LD flags that configure set up for us
like we already do for C flags.
---
 sim/common/ChangeLog      | 5 +++++
 sim/common/Make-common.in | 3 +++
 2 files changed, 8 insertions(+)

diff --git a/sim/common/ChangeLog b/sim/common/ChangeLog
index 1b21995..eac223c 100644
--- a/sim/common/ChangeLog
+++ b/sim/common/ChangeLog
@@ -1,5 +1,10 @@
 2015-11-21  Mike Frysinger  <vapier@gentoo.org>
 
+	PR sim/18762
+	* Makefile.in (CPPFLAGS, CXXFLAGS, LDFLAGS): Define.
+
+2015-11-21  Mike Frysinger  <vapier@gentoo.org>
+
 	PR sim/19273
 	* sim-utils.c (sim_do_commandf): Declare ret.  Call va_start,
 	vasprintf, and va_end together.  Check ret after va_end call.
diff --git a/sim/common/Make-common.in b/sim/common/Make-common.in
index 1766b83..647ec80 100644
--- a/sim/common/Make-common.in
+++ b/sim/common/Make-common.in
@@ -72,6 +72,9 @@ INSTALL_DATA = @INSTALL_DATA@
 CC = @CC@
 CC_FOR_BUILD = @CC_FOR_BUILD@
 CFLAGS = @CFLAGS@
+CPPFLAGS = @CPPFLAGS@
+CXXFLAGS = @CXXFLAGS@
+LDFLAGS = @LDFLAGS@
 SIM_BSWAP = @sim_bswap@
 SIM_CFLAGS = @sim_cflags@
 SIM_DEBUG = @sim_debug@
-- 
2.6.2


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