diff options
author | Mark Hatle <mark.hatle@kernel.crashing.org> | 2020-01-28 12:12:28 -0600 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-03-16 16:44:53 +0000 |
commit | 7064f9c626ed7afb4e2830ba5e6c2b76eea943dc (patch) | |
tree | 0bf260e59e09a64074b7862f5622893cb4cec3b0 | |
parent | f42a79c02d0285ab6cef7e1c9b5db8527ac8b0c7 (diff) | |
download | poky-7064f9c626ed7afb4e2830ba5e6c2b76eea943dc.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: fdd3d65b690c9d460a5758cf1b83e7b2edfc9559)
Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 7b52893632dae7bc9ac75dddc7ad625e19f41050)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-cross-canadian.inc | 4 |
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}/" | |||
158 | EXTRA_OECONF += "--enable-poison-system-directories" | 158 | EXTRA_OECONF += "--enable-poison-system-directories" |
159 | EXTRA_OECONF_remove_elf = "--with-sysroot=/not/exist" | 159 | EXTRA_OECONF_remove_elf = "--with-sysroot=/not/exist" |
160 | EXTRA_OECONF_remove_eabi = "--with-sysroot=/not/exist" | 160 | EXTRA_OECONF_remove_eabi = "--with-sysroot=/not/exist" |
161 | EXTRA_OECONF_append_elf = "--without-headers --with-newlib" | 161 | EXTRA_OECONF_append_elf = " --without-headers --with-newlib" |
162 | EXTRA_OECONF_append_eabi = "--without-headers --with-newlib" | 162 | EXTRA_OECONF_append_eabi = " --without-headers --with-newlib" |
163 | # gcc 4.7 needs -isystem | 163 | # gcc 4.7 needs -isystem |
164 | export ARCH_FLAGS_FOR_TARGET = "--sysroot=${STAGING_DIR_TARGET} -isystem=${target_includedir}" | 164 | export ARCH_FLAGS_FOR_TARGET = "--sysroot=${STAGING_DIR_TARGET} -isystem=${target_includedir}" |