summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2020-11-08 16:02:14 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-11-11 10:08:11 +0000
commitc55b6ce9ed74fc11e97a8ab27b12fd33c0cf77be (patch)
tree1f3ea680b2094904a0f6d314c143cb8995363c6b
parentd0b24abaf251970e90d1eaa12bebd97bbd8d677b (diff)
downloadpoky-c55b6ce9ed74fc11e97a8ab27b12fd33c0cf77be.tar.gz
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>
-rw-r--r--meta/recipes-devtools/gcc/gcc-10.2.inc3
1 files changed, 1 insertions, 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}"
81FORTRAN = "" 81FORTRAN = ""
82JAVA = "" 82JAVA = ""
83 83
84LTO = "--enable-lto"
85SSP ?= "--disable-libssp" 84SSP ?= "--disable-libssp"
86SSP_mingw32 = "--enable-libssp" 85SSP_mingw32 = "--enable-libssp"
87 86
88EXTRA_OECONF_BASE = "\ 87EXTRA_OECONF_BASE = "\
89 ${LTO} \
90 ${SSP} \ 88 ${SSP} \
91 --enable-libitm \ 89 --enable-libitm \
90 --enable-lto \
92 --disable-bootstrap \ 91 --disable-bootstrap \
93 --with-system-zlib \ 92 --with-system-zlib \
94 ${@'--with-linker-hash-style=${LINKER_HASH_STYLE}' if '${LINKER_HASH_STYLE}' else ''} \ 93 ${@'--with-linker-hash-style=${LINKER_HASH_STYLE}' if '${LINKER_HASH_STYLE}' else ''} \