sim: common: set up CPPFLAGS/CXXFLAGS/LDFLAGS from configure [PR sim/18762]
authorMike Frysinger <vapier@gentoo.org>
Sun, 22 Nov 2015 07:22:39 +0000 (23:22 -0800)
committerMike Frysinger <vapier@gentoo.org>
Sun, 22 Nov 2015 07:23:25 +0000 (02:23 -0500)
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
sim/common/Make-common.in

index 1b219950e628b7bf7da76bcef1aa7ac3da207547..eac223ceea3b6a2f2b5ef7ab102b95f74ad76a81 100644 (file)
@@ -1,3 +1,8 @@
+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
index 1766b83b8c16731ba044bceadf739c7ed8441218..647ec80eb795521ab47d707592625813a8a52508 100644 (file)
@@ -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@