diff options
author | Khem Raj <raj.khem@gmail.com> | 2016-05-11 10:35:28 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-05-13 13:41:30 +0100 |
commit | 54d06c080393785270313878bc4a15a9915571ba (patch) | |
tree | 97b2205fb86528705487bc7e978c7d69a95cfda4 /meta/conf | |
parent | ca8ae667ac9f60fce217c87154967a81da888d74 (diff) | |
download | poky-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.conf | 3 |
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 | ||
497 | export BUILD_CPPFLAGS = "-isystem${STAGING_INCDIR_NATIVE}" | 497 | export BUILD_CPPFLAGS = "-isystem${STAGING_INCDIR_NATIVE}" |
498 | BUILDSDK_CPPFLAGS = "-isystem${STAGING_INCDIR}" | 498 | BUILDSDK_CPPFLAGS = "" |
499 | export CPPFLAGS = "${TARGET_CPPFLAGS}" | 499 | export CPPFLAGS = "${TARGET_CPPFLAGS}" |
500 | export TARGET_CPPFLAGS = "" | 500 | export TARGET_CPPFLAGS = "" |
501 | #export TARGET_CPPFLAGS = "-isystem${STAGING_DIR_TARGET}${includedir}" | ||
502 | 501 | ||
503 | export BUILD_CFLAGS = "${BUILD_CPPFLAGS} ${BUILD_OPTIMIZATION}" | 502 | export BUILD_CFLAGS = "${BUILD_CPPFLAGS} ${BUILD_OPTIMIZATION}" |
504 | BUILDSDK_CFLAGS = "${BUILDSDK_CPPFLAGS} ${BUILD_OPTIMIZATION}" | 503 | BUILDSDK_CFLAGS = "${BUILDSDK_CPPFLAGS} ${BUILD_OPTIMIZATION}" |