From fde7c6bf646146aa342919b413dff07f558d55dc Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Mon, 31 Oct 2022 13:20:13 +0545 Subject: 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. --- sim/common/local.mk | 1 + 1 file changed, 1 insertion(+) (limited to 'sim/common') 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. -- cgit v1.1