diff options
author | Mike Frysinger <vapier@gentoo.org> | 2015-11-21 23:22:39 -0800 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2015-11-22 02:23:25 -0500 |
commit | dc11500a11e5ef1068182886007fccd4d7ad1c70 (patch) | |
tree | a4435b1fbe2f210c92895c06f9965ffdc47ab110 | |
parent | 2561d5808a330240a28841e8b3ce706a65ed31c9 (diff) | |
download | gdb-dc11500a11e5ef1068182886007fccd4d7ad1c70.zip gdb-dc11500a11e5ef1068182886007fccd4d7ad1c70.tar.gz gdb-dc11500a11e5ef1068182886007fccd4d7ad1c70.tar.bz2 |
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.
-rw-r--r-- | sim/common/ChangeLog | 5 | ||||
-rw-r--r-- | sim/common/Make-common.in | 3 |
2 files changed, 8 insertions, 0 deletions
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@ |