aboutsummaryrefslogtreecommitdiff
path: root/sim/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'sim/Makefile.am')
-rw-r--r--sim/Makefile.am5
1 files changed, 4 insertions, 1 deletions
diff --git a/sim/Makefile.am b/sim/Makefile.am
index 79537e7..594c91f 100644
--- a/sim/Makefile.am
+++ b/sim/Makefile.am
@@ -42,7 +42,10 @@ AM_CPPFLAGS = \
-I$(srcroot)/include \
$(SIM_INLINE)
-COMPILE_FOR_BUILD = $(CC_FOR_BUILD) $(AM_CPPFLAGS) $(CFLAGS_FOR_BUILD)
+AM_CPPFLAGS_FOR_BUILD = \
+ -I$(srcroot)/include \
+ $(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 $@
## Deps to add to the all-recursive target. These are built before descending