Fridrich Strba 2023-08-08 00:30:59 +00:00 committed by Git OBS Bridge
parent d5e3e3dd3f
commit 8fa0d4716d

View File

@ -1095,7 +1095,7 @@ ARCH_FLAGS="`echo %{optflags} -flifetime-dse=1 | sed -e 's/^-g /-g1 /g' -e 's/ -
ARCH_FLAGS="`echo %{optflags} | sed -e 's/^-g /-g1 /g' -e 's/ -g / -g1 /g' -e 's/ -g$/ -g1/g'`"
%endif
CFLAGS="$ARCH_FLAGS"
CXXFLAGS="$ARCH_FLAGS"
CXXFLAGS="-std=c++17 $ARCH_FLAGS"
export ARCH_FLAGS CFLAGS CXXFLAGS
%if !0%{?is_opensuse} && 0%{?sle_version} < 150000