summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/recipes-devtools/gcc/gcc-cross-canadian.inc4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-cross-canadian.inc b/meta/recipes-devtools/gcc/gcc-cross-canadian.inc
index 07ecfee8cf..54e4881059 100644
--- a/meta/recipes-devtools/gcc/gcc-cross-canadian.inc
+++ b/meta/recipes-devtools/gcc/gcc-cross-canadian.inc
@@ -169,5 +169,9 @@ EXTRA_OECONF += "\
169 --with-mpc=${STAGING_DIR_HOST}${layout_exec_prefix} \ 169 --with-mpc=${STAGING_DIR_HOST}${layout_exec_prefix} \
170" 170"
171 171
172EXTRA_OECONF_append_libc-baremetal = " --without-headers"
173EXTRA_OECONF_remove_libc-baremetal = "--with-sysroot=/not/exist"
174EXTRA_OECONF_remove_libc-baremetal = "--with-build-sysroot=${STAGING_DIR_TARGET}"
175
172# gcc 4.7 needs -isystem 176# gcc 4.7 needs -isystem
173export ARCH_FLAGS_FOR_TARGET = "--sysroot=${STAGING_DIR_TARGET} -isystem=${target_includedir}" 177export ARCH_FLAGS_FOR_TARGET = "--sysroot=${STAGING_DIR_TARGET} -isystem=${target_includedir}"