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
Signed-off-by: Khem Raj <[email protected]> --- meta/recipes-devtools/gcc/gcc-10.2.inc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/meta/recipes-devtools/gcc/gcc-10.2.inc b/meta/recipes-devtools/gcc/gcc-10.2.inc index 7625af5110..e88f2ade6d 100644 --- a/meta/recipes-devtools/gcc/gcc-10.2.inc +++ b/meta/recipes-devtools/gcc/gcc-10.2.inc @@ -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 ''} \ -- 2.29.2
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#144380): https://lists.openembedded.org/g/openembedded-core/message/144380 Mute This Topic: https://lists.openembedded.org/mt/78125460/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
