[oe-commits] [openembedded-core] 40/54: bitbake.conf: Empty out BUILDSDK_CPPFLAGS

git at git.openembedded.org git at git.openembedded.org
Fri May 13 12:44:16 UTC 2016


rpurdie pushed a commit to branch master
in repository openembedded-core.

commit 88ec93d152762aedeaa231d2732e9d4b9843795a
Author: Khem Raj <raj.khem at gmail.com>
AuthorDate: Wed May 11 10:35:28 2016 -0700

    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/
    
    Signed-off-by: Khem Raj <raj.khem at gmail.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 meta/conf/bitbake.conf | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
index 07d171d..9c865d7 100644
--- a/meta/conf/bitbake.conf
+++ b/meta/conf/bitbake.conf
@@ -495,10 +495,9 @@ PATCHRESOLVE = "noop"
 ##################################################################
 
 export BUILD_CPPFLAGS = "-isystem${STAGING_INCDIR_NATIVE}"
-BUILDSDK_CPPFLAGS = "-isystem${STAGING_INCDIR}"
+BUILDSDK_CPPFLAGS = ""
 export CPPFLAGS = "${TARGET_CPPFLAGS}"
 export TARGET_CPPFLAGS = ""
-#export TARGET_CPPFLAGS = "-isystem${STAGING_DIR_TARGET}${includedir}"
 
 export BUILD_CFLAGS = "${BUILD_CPPFLAGS} ${BUILD_OPTIMIZATION}"
 BUILDSDK_CFLAGS = "${BUILDSDK_CPPFLAGS} ${BUILD_OPTIMIZATION}"

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list