fix build
OBS-URL: https://build.opensuse.org/package/show/devel:tools/trinity?expand=0&rev=125
This commit is contained in:
+5
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user