summaryrefslogtreecommitdiff
path: root/meta/conf/external_toolchain.conf
diff options
context:
space:
mode:
Diffstat (limited to 'meta/conf/external_toolchain.conf')
-rw-r--r--meta/conf/external_toolchain.conf4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/conf/external_toolchain.conf b/meta/conf/external_toolchain.conf
index 8f544183d..b82f3fb63 100644
--- a/meta/conf/external_toolchain.conf
+++ b/meta/conf/external_toolchain.conf
@@ -2,7 +2,7 @@ TARGET_VENDOR = "-poky"
EXTERNAL_TOOLCHAIN = "/usr/local/poky/${TARGET_ARCH}"
-PATH =+ ":${EXTERNAL_TOOLCHAIN}/bin:"
+PATH =. ":${EXTERNAL_TOOLCHAIN}/bin:"
PREFERRED_PROVIDER_linux-libc-headers = "external-poky-toolchain"
PREFERRED_PROVIDER_virtual/arm-poky-linux-gnueabi-gcc = "external-poky-toolchain"
@@ -15,7 +15,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 = " -I${EXTERNAL_TOOLCHAIN}/${TARGET_SYS}/include "
+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 "