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