summaryrefslogtreecommitdiff
path: root/meta/packages/gcc/gcc-configure-common.inc
diff options
context:
space:
mode:
Diffstat (limited to 'meta/packages/gcc/gcc-configure-common.inc')
-rw-r--r--meta/packages/gcc/gcc-configure-common.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/packages/gcc/gcc-configure-common.inc b/meta/packages/gcc/gcc-configure-common.inc
index e6052a9ef5..5f211bc881 100644
--- a/meta/packages/gcc/gcc-configure-common.inc
+++ b/meta/packages/gcc/gcc-configure-common.inc
@@ -47,8 +47,8 @@ CPPFLAGS = ""
ARCH_FLAGS_FOR_TARGET = "${TARGET_CC_ARCH}"
EXTRA_OEMAKE += "ARCH_FLAGS_FOR_TARGET='${ARCH_FLAGS_FOR_TARGET}'"
-SYSTEMHEADERS = "${includedir}"
-SYSTEMLIBS1 = "${libdir}/"
+SYSTEMHEADERS = "${target_includedir}"
+SYSTEMLIBS1 = "${target_libdir}/"
do_configure () {
# Setup these vars for cross building only