Accepting request 948330 from home:marxin:branches:mozilla:Factory

- Enable -fimplicit-constexpr for GCC 12+.

OBS-URL: https://build.opensuse.org/request/show/948330
OBS-URL: https://build.opensuse.org/package/show/mozilla:Factory/MozillaFirefox?expand=0&rev=954
This commit is contained in:
Wolfgang Rosenauer 2022-01-24 08:24:06 +00:00 committed by Git OBS Bridge
parent 68541949af
commit 81795c233e
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Jan 24 07:42:03 UTC 2022 - Martin Liška <mliska@suse.cz>
- Enable -fimplicit-constexpr for GCC 12+.
-------------------------------------------------------------------
Thu Jan 20 23:21:44 UTC 2022 - Andreas Stieger <andreas.stieger@gmx.de>

View File

@ -401,6 +401,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