diff options
author | Richard Purdie <richard@openedhand.com> | 2007-11-22 16:59:22 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2007-11-22 16:59:22 +0000 |
commit | 675d1905db6941e2d9a33541f0a1ecf516a376b6 (patch) | |
tree | 203fb5c017b4cea65b54eb57a3c857ee0d374860 /meta/conf/distro/include | |
parent | 6f850a20abec85c29ccc1b0d9290fc1dfffa5070 (diff) | |
download | openembedded-core-675d1905db6941e2d9a33541f0a1ecf516a376b6.tar.gz openembedded-core-675d1905db6941e2d9a33541f0a1ecf516a376b6.tar.bz2 openembedded-core-675d1905db6941e2d9a33541f0a1ecf516a376b6.zip |
poky-external.inc: Fix external toolchains to use the correct sysroot after recent toolchain changes
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3206 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/conf/distro/include')
-rw-r--r-- | meta/conf/distro/include/poky-external.inc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/meta/conf/distro/include/poky-external.inc b/meta/conf/distro/include/poky-external.inc index d3731ae490..f95340b3aa 100644 --- a/meta/conf/distro/include/poky-external.inc +++ b/meta/conf/distro/include/poky-external.inc @@ -23,5 +23,7 @@ PREFERRED_PROVIDER_virtual/libiconv = "external-poky-toolchain" PREFERRED_PROVIDER_glibc-thread-db = "external-poky-toolchain" PREFERRED_PROVIDER_virtual/linux-libc-headers = "external-poky-toolchain" -TARGET_CPPFLAGS_prepend = " -isystem${EXTERNAL_TOOLCHAIN}/${TARGET_SYS}/include " -TARGET_LDFLAGS_prepend = " -L${EXTERNAL_TOOLCHAIN}/${TARGET_SYS}/lib -Wl,-rpath-link,${EXTERNAL_TOOLCHAIN}/${TARGET_SYS}/lib " +TARGET_CPPFLAGS_prepend = " -isystem${EXTERNAL_TOOLCHAIN}/${TARGET_SYS}/include --sysroot=${STAGING_DIR_HOST} " +TARGET_LDFLAGS_prepend = " -L${EXTERNAL_TOOLCHAIN}/${TARGET_SYS}/lib -Wl,-rpath-link,${EXTERNAL_TOOLCHAIN}/${TARGET_SYS}/lib --sysroot=${STAGING_DIR_HOST} " +TARGET_CFLAGS = "${TARGET_CPPFLAGS} ${SELECTED_OPTIMIZATION}" + |