diff mbox

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

Message ID 1448179186-3678-1-git-send-email-vapier@gentoo.org
State Committed
Delegated to: Mike Frysinger
Headers show

Commit Message

Mike Frysinger Nov. 22, 2015, 7:59 a.m. UTC
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 mbox

Patch

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@