summaryrefslogtreecommitdiff
path: root/meta/classes/toolchain-scripts.bbclass
diff options
context:
space:
mode:
authorLianhao Lu <lianhao.lu@intel.com>2011-01-12 10:05:18 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-01-12 11:17:47 +0000
commitf5a1f1d7f0b51d0936edd74def07f07a2342ad17 (patch)
tree096ee7b4d05a154573a04f8cadead4696e3878f7 /meta/classes/toolchain-scripts.bbclass
parent060a9d090b7b9219df88ca0439abde4e46cb6c2a (diff)
downloadopenembedded-core-f5a1f1d7f0b51d0936edd74def07f07a2342ad17.tar.gz
openembedded-core-f5a1f1d7f0b51d0936edd74def07f07a2342ad17.tar.bz2
openembedded-core-f5a1f1d7f0b51d0936edd74def07f07a2342ad17.tar.xz
openembedded-core-f5a1f1d7f0b51d0936edd74def07f07a2342ad17.zip
meta-environment: Remove c++ include dir from CXXFLAGS.
[BUGID #651]. c++ include dir is no longer needed in the environment files due to commit f13cb20. Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
Diffstat (limited to 'meta/classes/toolchain-scripts.bbclass')
-rw-r--r--meta/classes/toolchain-scripts.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/toolchain-scripts.bbclass b/meta/classes/toolchain-scripts.bbclass
index a5b2bd129..5ec0e8a4a 100644
--- a/meta/classes/toolchain-scripts.bbclass
+++ b/meta/classes/toolchain-scripts.bbclass
@@ -84,7 +84,7 @@ toolchain_create_sdk_env_script_for_installer () {
ln -s /usr/local local
fi
echo 'export CFLAGS="${TARGET_CC_ARCH} --sysroot=##SDKTARGETSYSROOT##"' >> $script
- echo 'export CXXFLAGS="${TARGET_CC_ARCH} --sysroot=##SDKTARGETSYSROOT## -I##SDKTARGETSYSROOT##${GXX_INCLUDEDIR}"' >> $script
+ echo 'export CXXFLAGS="${TARGET_CC_ARCH} --sysroot=##SDKTARGETSYSROOT##"' >> $script
echo 'export POKY_NATIVE_SYSROOT="${SDKPATHNATIVE}"' >> $script
echo 'export POKY_TARGET_SYSROOT="##SDKTARGETSYSROOT##"' >> $script
echo 'export POKY_DISTRO_VERSION="${DISTRO_VERSION}"' >> $script