aboutsummaryrefslogtreecommitdiff
path: root/sim/common
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2022-10-31 13:20:13 +0545
committerMike Frysinger <vapier@gentoo.org>2022-11-02 20:59:14 +0545
commitfde7c6bf646146aa342919b413dff07f558d55dc (patch)
tree5b617116d058a48dcd7af66cba9f149759de1afc /sim/common
parente4f2bc9c05303d399093a8b944ce4b07fa86c513 (diff)
downloadgdb-fde7c6bf646146aa342919b413dff07f558d55dc.zip
gdb-fde7c6bf646146aa342919b413dff07f558d55dc.tar.gz
gdb-fde7c6bf646146aa342919b413dff07f558d55dc.tar.bz2
sim: split CPPFLAGS between build & host
In order to merge more common/ files into the top-level, we need to add more host flags to CPPFLAGS, and that conflicts with our current use with build-time tools. So split them apart like we do with all other build flags to avoid the issue.
Diffstat (limited to 'sim/common')
-rw-r--r--sim/common/local.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/sim/common/local.mk b/sim/common/local.mk
index 377ebe6..65a375f 100644
--- a/sim/common/local.mk
+++ b/sim/common/local.mk
@@ -19,6 +19,7 @@
## Most still lives in common/Make-common.in.
AM_CPPFLAGS += -I$(srcdir)/%D%
+AM_CPPFLAGS_FOR_BUILD += -I$(srcdir)/%D%
## This makes sure common parts are available before building the arch-subdirs
## which will refer to these.