Skip to contentSkip to conversation

gcc-cross-canadian: A missing space in an append caused an invalid option

PATCH New Mark Hatle 1 participant 1 message Jan 28, 2020

lore
Share & tools
lore

Mark Hatle

author
#0 lore raw

PATCH 1/1 gcc-cross-canadian: A missing space in an append caused an invalid option

When configuring the cross-candian toolchain for a non-linux target system, the resulting gcc configuration included:

--enable-initfini-array--without-headers

these should have been two separate options.

---
 meta/recipes-devtools/gcc/gcc-cross-canadian.inc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
meta/recipes-devtools/gcc/gcc-cross-canadian.inc +2 -2
index f14cbf7152..4aac345bec 100644
@@ -158,7 +158,7 @@ SYSTEMLIBS1 = "${target_libdir}/"
 EXTRA_OECONF += "--enable-poison-system-directories"
 EXTRA_OECONF_remove_elf = "--with-sysroot=/not/exist"
 EXTRA_OECONF_remove_eabi = "--with-sysroot=/not/exist"
-EXTRA_OECONF_append_elf = "--without-headers --with-newlib"
-EXTRA_OECONF_append_eabi = "--without-headers --with-newlib"
+EXTRA_OECONF_append_elf = " --without-headers --with-newlib"
+EXTRA_OECONF_append_eabi = " --without-headers --with-newlib"
 # gcc 4.7 needs -isystem
 export ARCH_FLAGS_FOR_TARGET = "--sysroot=${STAGING_DIR_TARGET} -isystem=${target_includedir}"
Signature · 1 line
2.17.1