summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/gcc
diff options
context:
space:
mode:
authorMark Hatle <mark.hatle@kernel.crashing.org>2020-01-28 12:12:28 -0600
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-02-02 16:57:21 +0000
commit753cffb1057ddb2c5eba87393087329a8fd51e0e (patch)
tree3e30f088e2f4310197c410e8e3249356e93057dd /meta/recipes-devtools/gcc
parent9dd3af7f0f24df39c578670abb08146156aa2041 (diff)
downloadpoky-753cffb1057ddb2c5eba87393087329a8fd51e0e.tar.gz
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. (From OE-Core rev: 7b52893632dae7bc9ac75dddc7ad625e19f41050) Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/gcc')
-rw-r--r--meta/recipes-devtools/gcc/gcc-cross-canadian.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-cross-canadian.inc b/meta/recipes-devtools/gcc/gcc-cross-canadian.inc
index f14cbf7152..4aac345bec 100644
--- a/meta/recipes-devtools/gcc/gcc-cross-canadian.inc
+++ b/meta/recipes-devtools/gcc/gcc-cross-canadian.inc
@@ -158,7 +158,7 @@ SYSTEMLIBS1 = "${target_libdir}/"
158EXTRA_OECONF += "--enable-poison-system-directories" 158EXTRA_OECONF += "--enable-poison-system-directories"
159EXTRA_OECONF_remove_elf = "--with-sysroot=/not/exist" 159EXTRA_OECONF_remove_elf = "--with-sysroot=/not/exist"
160EXTRA_OECONF_remove_eabi = "--with-sysroot=/not/exist" 160EXTRA_OECONF_remove_eabi = "--with-sysroot=/not/exist"
161EXTRA_OECONF_append_elf = "--without-headers --with-newlib" 161EXTRA_OECONF_append_elf = " --without-headers --with-newlib"
162EXTRA_OECONF_append_eabi = "--without-headers --with-newlib" 162EXTRA_OECONF_append_eabi = " --without-headers --with-newlib"
163# gcc 4.7 needs -isystem 163# gcc 4.7 needs -isystem
164export ARCH_FLAGS_FOR_TARGET = "--sysroot=${STAGING_DIR_TARGET} -isystem=${target_includedir}" 164export ARCH_FLAGS_FOR_TARGET = "--sysroot=${STAGING_DIR_TARGET} -isystem=${target_includedir}"