diff options
author | Mike Frysinger <vapier@gentoo.org> | 2022-10-31 13:20:13 +0545 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2022-11-02 20:59:14 +0545 |
commit | fde7c6bf646146aa342919b413dff07f558d55dc (patch) | |
tree | 5b617116d058a48dcd7af66cba9f149759de1afc /sim/common | |
parent | e4f2bc9c05303d399093a8b944ce4b07fa86c513 (diff) | |
download | gdb-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.mk | 1 |
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. |