summaryrefslogtreecommitdiff
path: root/meta/conf/distro/include/poky-external.inc
diff options
context:
space:
mode:
Diffstat (limited to 'meta/conf/distro/include/poky-external.inc')
-rw-r--r--meta/conf/distro/include/poky-external.inc5
1 files changed, 3 insertions, 2 deletions
diff --git a/meta/conf/distro/include/poky-external.inc b/meta/conf/distro/include/poky-external.inc
index f95340b3aa..50b250bcee 100644
--- a/meta/conf/distro/include/poky-external.inc
+++ b/meta/conf/distro/include/poky-external.inc
@@ -23,7 +23,8 @@ 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 --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_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_CFLAGS = "${TARGET_CPPFLAGS} ${SELECTED_OPTIMIZATION}"
+TOOLCHAIN_OPTIONS = " --sysroot=${STAGING_DIR_HOST}"