diff options
author | Khem Raj <raj.khem@gmail.com> | 2020-11-08 16:02:14 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-11-11 10:08:11 +0000 |
commit | c55b6ce9ed74fc11e97a8ab27b12fd33c0cf77be (patch) | |
tree | 1f3ea680b2094904a0f6d314c143cb8995363c6b | |
parent | d0b24abaf251970e90d1eaa12bebd97bbd8d677b (diff) | |
download | poky-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.inc | 3 |
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}" | |||
81 | FORTRAN = "" | 81 | FORTRAN = "" |
82 | JAVA = "" | 82 | JAVA = "" |
83 | 83 | ||
84 | LTO = "--enable-lto" | ||
85 | SSP ?= "--disable-libssp" | 84 | SSP ?= "--disable-libssp" |
86 | SSP_mingw32 = "--enable-libssp" | 85 | SSP_mingw32 = "--enable-libssp" |
87 | 86 | ||
88 | EXTRA_OECONF_BASE = "\ | 87 | EXTRA_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 ''} \ |