2018-06-18 08:40:03 +00:00
committed by Git OBS Bridge
parent 76a33110df
commit 1ce7f8fc13
+5 -1
View File
@@ -37,9 +37,13 @@ Trinity differs is that the arguments it passes are not purely random.
%setup -q
%build
# the warning seems to be false positive causing build failures
%if 0%{?suse_version} > 1500
# the warning from gcc8 seems to be false positive causing build failures
# remove the -Wno-error when fixed (in gcc or in trinity)
export CFLAGS="%{optflags} -Wno-error=format-overflow"
%else
export CFLAGS="%{optflags}"
%endif
# Not autotools configure
./configure
make %{?_smp_mflags} V=1