diff options
author | Lianhao Lu <lianhao.lu@intel.com> | 2011-03-05 14:20:52 +0000 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2011-03-05 09:44:29 -0800 |
commit | a3a7aed9cca5765f106762cbcd9efbf4f1fccf9f (patch) | |
tree | d3a0d21411a2d19ac0fd01c679d4f66ebb5f103e /meta/classes | |
parent | e7564dd6ac5d56fb92c0f05d1039c6458a0dea6b (diff) | |
download | openembedded-core-a3a7aed9cca5765f106762cbcd9efbf4f1fccf9f.tar.gz openembedded-core-a3a7aed9cca5765f106762cbcd9efbf4f1fccf9f.tar.bz2 openembedded-core-a3a7aed9cca5765f106762cbcd9efbf4f1fccf9f.zip |
toolchain-script.bbclass: Added --sysroot to LDFLAGS.
[YOCTO #808] Added --sysroot to LDFALGS in environment files.
Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/toolchain-scripts.bbclass | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/classes/toolchain-scripts.bbclass b/meta/classes/toolchain-scripts.bbclass index 2b9cfac6a1..998ff14b23 100644 --- a/meta/classes/toolchain-scripts.bbclass +++ b/meta/classes/toolchain-scripts.bbclass @@ -24,6 +24,7 @@ toolchain_create_sdk_env_script () { fi echo 'export CFLAGS="${TARGET_CC_ARCH} --sysroot=${SDKTARGETSYSROOT}"' >> $script echo 'export CXXFLAGS="${TARGET_CC_ARCH} --sysroot=${SDKTARGETSYSROOT}"' >> $script + echo 'export LDFLAGS="--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 @@ -83,6 +84,7 @@ toolchain_create_sdk_env_script_for_installer () { fi echo 'export CFLAGS="${TARGET_CC_ARCH} --sysroot=##SDKTARGETSYSROOT##"' >> $script echo 'export CXXFLAGS="${TARGET_CC_ARCH} --sysroot=##SDKTARGETSYSROOT##"' >> $script + echo 'export LDFLAGS="--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 |