summaryrefslogtreecommitdiffstats
path: root/meta/conf
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2016-05-11 10:35:28 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-05-13 13:41:30 +0100
commit54d06c080393785270313878bc4a15a9915571ba (patch)
tree97b2205fb86528705487bc7e978c7d69a95cfda4 /meta/conf
parentca8ae667ac9f60fce217c87154967a81da888d74 (diff)
downloadpoky-54d06c080393785270313878bc4a15a9915571ba.tar.gz
bitbake.conf: Empty out BUILDSDK_CPPFLAGS
The nativesdk sysroot is already being passed in via --sysroot option, adding -isystem is redundant and more so it causes build failures with gcc-6 since it messed with internal search order for system includedirs see https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/Q5SWCUUMWQ4EMS7CU2CBOZHV3WZYOOTT/ (From OE-Core rev: 88ec93d152762aedeaa231d2732e9d4b9843795a) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/conf')
-rw-r--r--meta/conf/bitbake.conf3
1 files changed, 1 insertions, 2 deletions
diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
index 07d171deb9..9c865d7dcb 100644
--- a/meta/conf/bitbake.conf
+++ b/meta/conf/bitbake.conf
@@ -495,10 +495,9 @@ PATCHRESOLVE = "noop"
495################################################################## 495##################################################################
496 496
497export BUILD_CPPFLAGS = "-isystem${STAGING_INCDIR_NATIVE}" 497export BUILD_CPPFLAGS = "-isystem${STAGING_INCDIR_NATIVE}"
498BUILDSDK_CPPFLAGS = "-isystem${STAGING_INCDIR}" 498BUILDSDK_CPPFLAGS = ""
499export CPPFLAGS = "${TARGET_CPPFLAGS}" 499export CPPFLAGS = "${TARGET_CPPFLAGS}"
500export TARGET_CPPFLAGS = "" 500export TARGET_CPPFLAGS = ""
501#export TARGET_CPPFLAGS = "-isystem${STAGING_DIR_TARGET}${includedir}"
502 501
503export BUILD_CFLAGS = "${BUILD_CPPFLAGS} ${BUILD_OPTIMIZATION}" 502export BUILD_CFLAGS = "${BUILD_CPPFLAGS} ${BUILD_OPTIMIZATION}"
504BUILDSDK_CFLAGS = "${BUILDSDK_CPPFLAGS} ${BUILD_OPTIMIZATION}" 503BUILDSDK_CFLAGS = "${BUILDSDK_CPPFLAGS} ${BUILD_OPTIMIZATION}"