From 2b26512461888151aa6ec94c9273132f8797f9a2b52b6a9c2a1d2dba256b69d8 Mon Sep 17 00:00:00 2001 From: Wolfgang Rosenauer Date: Fri, 21 Jan 2022 22:40:32 +0000 Subject: [PATCH] Accepting request 947696 from home:marxin:branches:mozilla:Factory - Enable -fimplicit-constexpr for GCC 12+. OBS-URL: https://build.opensuse.org/request/show/947696 OBS-URL: https://build.opensuse.org/package/show/mozilla:Factory/MozillaThunderbird?expand=0&rev=621 --- MozillaThunderbird.changes | 5 +++++ MozillaThunderbird.spec | 3 +++ 2 files changed, 8 insertions(+) diff --git a/MozillaThunderbird.changes b/MozillaThunderbird.changes index 993a1d4..5fdc6ee 100644 --- a/MozillaThunderbird.changes +++ b/MozillaThunderbird.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Jan 20 13:10:00 UTC 2022 - Martin Liška + +- Enable -fimplicit-constexpr for GCC 12+. + ------------------------------------------------------------------- Fri Jan 7 16:13:57 UTC 2022 - Wolfgang Rosenauer diff --git a/MozillaThunderbird.spec b/MozillaThunderbird.spec index ebe4049..a817e70 100644 --- a/MozillaThunderbird.spec +++ b/MozillaThunderbird.spec @@ -357,6 +357,9 @@ export CC=gcc-9 %if 0%{?clang_build} == 0 export CC=gcc export CXX=g++ +%if 0%{?gcc_version:%{gcc_version}} >= 12 +export CFLAGS="$CFLAGS -fimplicit-constexpr" +%endif %endif %endif %ifarch %arm %ix86