From: "Khem Raj" <raj.khem@gmail.com>
To: openembedded-core@lists.openembedded.org
Cc: Khem Raj <raj.khem@gmail.com>
Subject: [PATCH v5 08/11] gcc: Do no parameterize LTO configuration flags
Date: Sun, 8 Nov 2020 16:02:14 -0800 [thread overview]
Message-ID: <20201109000217.3008448-8-raj.khem@gmail.com> (raw)
In-Reply-To: <20201109000217.3008448-1-raj.khem@gmail.com>
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 <raj.khem@gmail.com>
---
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
next prev parent reply other threads:[~2020-11-09 0:02 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-11-09 0:02 [PATCH v5 01/11] lto: Add global LTO distro policy file Khem Raj
2020-11-09 0:02 ` [PATCH v5 02/11] python3: Enable lto if its in DISTRO_FEATURES Khem Raj
2020-11-09 0:02 ` [PATCH v5 03/11] lto.inc: Add -ffat-lto-objects and -fuse-linker-plugin Khem Raj
2020-11-09 0:02 ` [PATCH v5 04/11] lto: Introduce LTOEXTRA variable Khem Raj
2020-11-09 0:02 ` [PATCH v5 05/11] libaio: Disable LTO Khem Raj
2020-11-09 0:02 ` [PATCH v5 06/11] weston: Fix linking with LTO Khem Raj
2020-11-09 0:02 ` [PATCH v5 07/11] lto.inc: Disable LTO for xserver-xorg Khem Raj
2020-11-09 0:02 ` Khem Raj [this message]
2020-11-09 0:02 ` [PATCH v5 09/11] puzzles: Check for excessive constant arguments Khem Raj
2020-11-09 0:02 ` [PATCH v5 10/11] lto.inc: Disable LTO for perf Khem Raj
2020-11-09 0:02 ` [PATCH v5 11/11] gcc: Handle duplicate names for variables Khem Raj
2020-11-09 8:30 ` [OE-core] [PATCH v5 01/11] lto: Add global LTO distro policy file Andreas Müller
2020-11-09 19:14 ` Khem Raj
2020-11-09 20:18 ` Andreas Müller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20201109000217.3008448-8-raj.khem@gmail.com \
--to=raj.khem@gmail.com \
--cc=openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox