[3/3] sim: build: add SIM_HW_CFLAGS to top-level build too
Commit Message
This matches what we do with targets already.
---
sim/Makefile.am | 2 ++
sim/Makefile.in | 7 ++++---
2 files changed, 6 insertions(+), 3 deletions(-)
@@ -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 $@