diff options
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-cross-canadian.inc | 4 |
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 += "\ --with-mpc=${STAGING_DIR_HOST}${layout_exec_prefix} \ " +EXTRA_OECONF_append_libc-baremetal = " --without-headers" +EXTRA_OECONF_remove_libc-baremetal = "--with-sysroot=/not/exist" +EXTRA_OECONF_remove_libc-baremetal = "--with-build-sysroot=${STAGING_DIR_TARGET}" + # gcc 4.7 needs -isystem export ARCH_FLAGS_FOR_TARGET = "--sysroot=${STAGING_DIR_TARGET} -isystem=${target_includedir}" |