diff options
Diffstat (limited to 'meta/conf/distro/include/poky-external.inc')
-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" | |||
23 | PREFERRED_PROVIDER_glibc-thread-db = "external-poky-toolchain" | 23 | PREFERRED_PROVIDER_glibc-thread-db = "external-poky-toolchain" |
24 | PREFERRED_PROVIDER_virtual/linux-libc-headers = "external-poky-toolchain" | 24 | PREFERRED_PROVIDER_virtual/linux-libc-headers = "external-poky-toolchain" |
25 | 25 | ||
26 | TARGET_CPPFLAGS_prepend = " -isystem${EXTERNAL_TOOLCHAIN}/${TARGET_SYS}/include " | 26 | TARGET_CPPFLAGS_prepend = " -isystem${EXTERNAL_TOOLCHAIN}/${TARGET_SYS}/include --sysroot=${STAGING_DIR_HOST} " |
27 | TARGET_LDFLAGS_prepend = " -L${EXTERNAL_TOOLCHAIN}/${TARGET_SYS}/lib -Wl,-rpath-link,${EXTERNAL_TOOLCHAIN}/${TARGET_SYS}/lib " | 27 | TARGET_LDFLAGS_prepend = " -L${EXTERNAL_TOOLCHAIN}/${TARGET_SYS}/lib -Wl,-rpath-link,${EXTERNAL_TOOLCHAIN}/${TARGET_SYS}/lib --sysroot=${STAGING_DIR_HOST} " |
28 | TARGET_CFLAGS = "${TARGET_CPPFLAGS} ${SELECTED_OPTIMIZATION}" | ||
29 | |||