summaryrefslogtreecommitdiffstats
path: root/meta/classes
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
parent060a9d090b7b9219df88ca0439abde4e46cb6c2a (diff)
downloadpoky-f5a1f1d7f0b51d0936edd74def07f07a2342ad17.tar.gz
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')
-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 a5b2bd129b..5ec0e8a4a9 100644
--- a/meta/classes/toolchain-scripts.bbclass
+++ b/meta/classes/toolchain-scripts.bbclass
@@ -84,7 +84,7 @@ toolchain_create_sdk_env_script_for_installer () {
84 ln -s /usr/local local 84 ln -s /usr/local local
85 fi 85 fi
86 echo 'export CFLAGS="${TARGET_CC_ARCH} --sysroot=##SDKTARGETSYSROOT##"' >> $script 86 echo 'export CFLAGS="${TARGET_CC_ARCH} --sysroot=##SDKTARGETSYSROOT##"' >> $script
87 echo 'export CXXFLAGS="${TARGET_CC_ARCH} --sysroot=##SDKTARGETSYSROOT## -I##SDKTARGETSYSROOT##${GXX_INCLUDEDIR}"' >> $script 87 echo 'export CXXFLAGS="${TARGET_CC_ARCH} --sysroot=##SDKTARGETSYSROOT##"' >> $script
88 echo 'export POKY_NATIVE_SYSROOT="${SDKPATHNATIVE}"' >> $script 88 echo 'export POKY_NATIVE_SYSROOT="${SDKPATHNATIVE}"' >> $script
89 echo 'export POKY_TARGET_SYSROOT="##SDKTARGETSYSROOT##"' >> $script 89 echo 'export POKY_TARGET_SYSROOT="##SDKTARGETSYSROOT##"' >> $script
90 echo 'export POKY_DISTRO_VERSION="${DISTRO_VERSION}"' >> $script 90 echo 'export POKY_DISTRO_VERSION="${DISTRO_VERSION}"' >> $script