Dominique Leuenberger 2022-01-26 20:26:30 +00:00 committed by Git OBS Bridge
commit 9179663693
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