diff options
author | Chang Rebecca Swee Fun <rebecca.swee.fun.chang@intel.com> | 2017-08-30 13:15:43 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-08-31 17:41:41 +0100 |
commit | bbd38c5d4b89a7194f06d7d66570c58e8811c030 (patch) | |
tree | 570dbe5536f17080468981d083bfbe3d5902d1b4 /meta | |
parent | d5f2604669820d637fc77acab45dabfa60fc3440 (diff) | |
download | poky-bbd38c5d4b89a7194f06d7d66570c58e8811c030.tar.gz |
bitbake.conf: add definition for BUILDSDK_CXXFLAGS
${BUILDSDK_CXXFLAGS} was introduced since
commit 55c83cb239df5faf5e2143fffca47f2f16931cb3
cross.bbclass: override TARGET_* flags
bitbake.conf has definitions for both ${BUILDSDK_CPPFLAGS} and
${BUILDSDK_CFLAGS} but there is none for ${BUILDSDK_CXXFLAGS}.
This was a regression as in the past, CXXFLAGS is the same as
CFLAGS in SDK environment.
Adding definition for ${BUILDSDK_CXXFLAGS} will resolve CXXFLAGS
being set wrongly in SDK environment.
[YOCTO #11769]
(From OE-Core rev: 073ca1cbd1b70d5b36618584a8c88cbba391a259)
Signed-off-by: Chang Rebecca Swee Fun <rebecca.swee.fun.chang@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/conf/bitbake.conf | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf index d4ed894932..8ce08340d7 100644 --- a/meta/conf/bitbake.conf +++ b/meta/conf/bitbake.conf | |||
@@ -546,6 +546,7 @@ export CFLAGS = "${TARGET_CFLAGS}" | |||
546 | export TARGET_CFLAGS = "${TARGET_CPPFLAGS} ${SELECTED_OPTIMIZATION}" | 546 | export TARGET_CFLAGS = "${TARGET_CPPFLAGS} ${SELECTED_OPTIMIZATION}" |
547 | 547 | ||
548 | export BUILD_CXXFLAGS = "${BUILD_CFLAGS}" | 548 | export BUILD_CXXFLAGS = "${BUILD_CFLAGS}" |
549 | BUILDSDK_CXXFLAGS = "${BUILDSDK_CFLAGS}" | ||
549 | export CXXFLAGS = "${TARGET_CXXFLAGS}" | 550 | export CXXFLAGS = "${TARGET_CXXFLAGS}" |
550 | export TARGET_CXXFLAGS = "${TARGET_CFLAGS}" | 551 | export TARGET_CXXFLAGS = "${TARGET_CFLAGS}" |
551 | 552 | ||