From dc11500a11e5ef1068182886007fccd4d7ad1c70 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sat, 21 Nov 2015 23:22:39 -0800 Subject: [PATCH] sim: common: set up CPPFLAGS/CXXFLAGS/LDFLAGS from configure [PR sim/18762] 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 + PR sim/18762 + * Makefile.in (CPPFLAGS, CXXFLAGS, LDFLAGS): Define. + +2015-11-21 Mike Frysinger + 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.7.4