aboutsummaryrefslogtreecommitdiffstats
path: root/conf/bitbake.conf
diff options
context:
space:
mode:
authorHolger Freyther <zecke@selfish.org>2006-05-16 21:40:52 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2006-05-16 21:40:52 +0000
commit614fae713de4e9804b3a658f54674dba652250a2 (patch)
tree6894d31095a581ba0fd0a48599d82864c5da8cb7 /conf/bitbake.conf
parent619b8e49c6e6e82e7e9e227c00bc5d34f1328789 (diff)
downloadopenembedded-614fae713de4e9804b3a658f54674dba652250a2.tar.gz
conf/bitbake.conf:
Use -isystem instead of -I for the staging incdir. This will make the staging directory to be the last one in the include chain, this should make all 'local' includes be handled first and only then we will fall back to the staging directory. nice option...
Diffstat (limited to 'conf/bitbake.conf')
-rw-r--r--conf/bitbake.conf4
1 files changed, 2 insertions, 2 deletions
diff --git a/conf/bitbake.conf b/conf/bitbake.conf
index 2043a500eb..bcff586b82 100644
--- a/conf/bitbake.conf
+++ b/conf/bitbake.conf
@@ -239,9 +239,9 @@ EXTRA_OEMAKE = "-e MAKEFLAGS="
# Build flags and options.
##################################################################
-export BUILD_CPPFLAGS = "-I${STAGING_DIR}/${BUILD_SYS}/include"
+export BUILD_CPPFLAGS = "-isystem${STAGING_DIR}/${BUILD_SYS}/include"
export CPPFLAGS = "${TARGET_CPPFLAGS}"
-export TARGET_CPPFLAGS = "-I${STAGING_DIR}/${TARGET_SYS}/include"
+export TARGET_CPPFLAGS = "-isystem${STAGING_DIR}/${TARGET_SYS}/include"
export BUILD_CFLAGS = "${BUILD_CPPFLAGS} ${BUILD_OPTIMIZATION}"
export CFLAGS = "${TARGET_CFLAGS}"