sim: common: set up CPPFLAGS/CXXFLAGS/LDFLAGS from configure [PR sim/18762] [committed]
Commit Message
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(+)
@@ -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.
@@ -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@