mirror of
https://git.yoctoproject.org/poky
synced 2026-04-26 18:32:13 +02:00
gcc: Do no parameterize LTO configuration flags
These flags are redundant as LTO now enabled in GCC by default for sometime, Moreover, dropping LTO variable here avoids a conflict with global LTO variable being added for distrowide LTO support (From OE-Core rev: 50cd8edc9849d6ab6249d4c49c7e41bb476dcb71) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -81,14 +81,13 @@ S = "${TMPDIR}/work-shared/gcc-${PV}-${PR}/gcc-${PV}"
|
||||
FORTRAN = ""
|
||||
JAVA = ""
|
||||
|
||||
LTO = "--enable-lto"
|
||||
SSP ?= "--disable-libssp"
|
||||
SSP_mingw32 = "--enable-libssp"
|
||||
|
||||
EXTRA_OECONF_BASE = "\
|
||||
${LTO} \
|
||||
${SSP} \
|
||||
--enable-libitm \
|
||||
--enable-lto \
|
||||
--disable-bootstrap \
|
||||
--with-system-zlib \
|
||||
${@'--with-linker-hash-style=${LINKER_HASH_STYLE}' if '${LINKER_HASH_STYLE}' else ''} \
|
||||
|
||||
Reference in New Issue
Block a user