diff options
author | Mike Frysinger <vapier@gentoo.org> | 2022-11-05 10:33:37 +0700 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2022-11-05 10:33:37 +0700 |
commit | bfc96c1039d33b1ed0c8b2e1b6fb3859a693cfe9 (patch) | |
tree | 43ca4cc60f3a0093877a17cb29e5c9dd4d21cdc2 | |
parent | fc9c0bdce0ff2aee6215b29cc10330ebcb0df6b4 (diff) | |
download | gdb-bfc96c1039d33b1ed0c8b2e1b6fb3859a693cfe9.zip gdb-bfc96c1039d33b1ed0c8b2e1b6fb3859a693cfe9.tar.gz gdb-bfc96c1039d33b1ed0c8b2e1b6fb3859a693cfe9.tar.bz2 |
sim: build: add SIM_HW_CFLAGS to top-level build too
This matches what we do with targets already.
-rw-r--r-- | sim/Makefile.am | 2 | ||||
-rw-r--r-- | sim/Makefile.in | 7 |
2 files changed, 6 insertions, 3 deletions
diff --git a/sim/Makefile.am b/sim/Makefile.am index d8730f2..7ea013a 100644 --- a/sim/Makefile.am +++ b/sim/Makefile.am @@ -46,10 +46,12 @@ AM_CPPFLAGS = \ -I$(srcroot)/include \ -I../bfd \ -I.. \ + $(SIM_HW_CFLAGS) \ $(SIM_INLINE) AM_CPPFLAGS_FOR_BUILD = \ -I$(srcroot)/include \ + $(SIM_HW_CFLAGS) \ $(SIM_INLINE) COMPILE_FOR_BUILD = $(CC_FOR_BUILD) $(AM_CPPFLAGS_FOR_BUILD) $(CPPFLAGS_FOR_BUILD) $(CFLAGS_FOR_BUILD) LINK_FOR_BUILD = $(CC_FOR_BUILD) $(CFLAGS_FOR_BUILD) $(LDFLAGS_FOR_BUILD) -o $@ diff --git a/sim/Makefile.in b/sim/Makefile.in index 57c1fc0..06d5da1 100644 --- a/sim/Makefile.in +++ b/sim/Makefile.in @@ -924,9 +924,10 @@ MOSTLYCLEANFILES = core $(am__append_5) site-sim-config.exp \ $(am__append_34) $(am__append_37) $(am__append_39) AM_CFLAGS = $(WERROR_CFLAGS) $(WARN_CFLAGS) AM_CPPFLAGS = $(INCGNU) -I$(srcroot)/include -I../bfd -I.. \ - $(SIM_INLINE) -I$(srcdir)/common -DSIM_COMMON_BUILD -AM_CPPFLAGS_FOR_BUILD = -I$(srcroot)/include $(SIM_INLINE) \ - -I$(srcdir)/common + $(SIM_HW_CFLAGS) $(SIM_INLINE) -I$(srcdir)/common \ + -DSIM_COMMON_BUILD +AM_CPPFLAGS_FOR_BUILD = -I$(srcroot)/include $(SIM_HW_CFLAGS) \ + $(SIM_INLINE) -I$(srcdir)/common COMPILE_FOR_BUILD = $(CC_FOR_BUILD) $(AM_CPPFLAGS_FOR_BUILD) $(CPPFLAGS_FOR_BUILD) $(CFLAGS_FOR_BUILD) LINK_FOR_BUILD = $(CC_FOR_BUILD) $(CFLAGS_FOR_BUILD) $(LDFLAGS_FOR_BUILD) -o $@ SIM_ALL_RECURSIVE_DEPS = common/libcommon.a $(am__append_2) \ |