summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Deutschmann <whissi@gentoo.org>2020-12-21 22:23:09 +0100
committerThomas Deutschmann <whissi@gentoo.org>2020-12-22 00:40:53 +0100
commit7b374e16a74185d720c52c887d746bc2cc1206cd (patch)
tree9667a0563bf521eb4f02eef42fd2264a9209f72e
parentwww-client/firefox: disable loop vectorization (diff)
downloadgentoo-7b374e16a74185d720c52c887d746bc2cc1206cd.tar.gz
gentoo-7b374e16a74185d720c52c887d746bc2cc1206cd.tar.bz2
gentoo-7b374e16a74185d720c52c887d746bc2cc1206cd.zip
mail-client/thunderbird: synchronize with www-client/firefox
Bug: https://bugs.gentoo.org/758446 Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
-rw-r--r--mail-client/thunderbird/thunderbird-78.6.0.ebuild7
1 files changed, 7 insertions, 0 deletions
diff --git a/mail-client/thunderbird/thunderbird-78.6.0.ebuild b/mail-client/thunderbird/thunderbird-78.6.0.ebuild
index 7aa612a5a74..2018e0ec647 100644
--- a/mail-client/thunderbird/thunderbird-78.6.0.ebuild
+++ b/mail-client/thunderbird/thunderbird-78.6.0.ebuild
@@ -509,6 +509,7 @@ src_prepare() {
src_configure() {
# Show flags set at the beginning
einfo "Current CFLAGS: ${CFLAGS}"
+ einfo "Current CXXFLAGS: ${CXXFLAGS}"
einfo "Current LDFLAGS: ${LDFLAGS}"
einfo "Current RUSTFLAGS: ${RUSTFLAGS}"
@@ -754,6 +755,11 @@ src_configure() {
if [[ -n ${disable_elf_hack} ]] ; then
mozconfig_add_options_ac 'elf-hack is broken when using Clang' --disable-elf-hack
fi
+ elif tc-is-gcc ; then
+ if ver_test $(gcc-fullversion) -ge 10 ; then
+ einfo "Forcing -fno-tree-loop-vectorize to workaround GCC bug, see bug 758446 ..."
+ append-cxxflags -fno-tree-loop-vectorize
+ fi
fi
# Additional ARCH support
@@ -799,6 +805,7 @@ src_configure() {
# Show flags we will use
einfo "Build CFLAGS: ${CFLAGS}"
+ einfo "Build CXXFLAGS: ${CXXFLAGS}"
einfo "Build LDFLAGS: ${LDFLAGS}"
einfo "Build RUSTFLAGS: ${RUSTFLAGS}"