summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--meta/conf/external_toolchain.conf2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/conf/external_toolchain.conf b/meta/conf/external_toolchain.conf
index b5bf220dc..8f544183d 100644
--- a/meta/conf/external_toolchain.conf
+++ b/meta/conf/external_toolchain.conf
@@ -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_append = " -I${EXTERNAL_TOOLCHAIN}/${TARGET_SYS}/include "
+TARGET_CPPFLAGS_prepend = " -I${EXTERNAL_TOOLCHAIN}/${TARGET_SYS}/include "
TARGET_LDFLAGS_prepend = " -L${EXTERNAL_TOOLCHAIN}/${TARGET_SYS}/lib -Wl,-rpath-link,${EXTERNAL_TOOLCHAIN}/${TARGET_SYS}/lib "