This commit is contained in:
parent
b4a8e6637c
commit
2d05369731
@ -360,7 +360,13 @@ make %{?_smp_mflags}
|
||||
export SUSE_ASNEEDED=0
|
||||
cd build-dir
|
||||
%ifnarch %arm
|
||||
make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused -Wno-unprototyped-calls" || %{make_check_handling}
|
||||
make -k check \
|
||||
%if %{suse_version} > 1020
|
||||
CFLAGS="$RPM_OPT_FLAGS -w -Wno-unprototyped-calls" \
|
||||
%else
|
||||
CFLAGS="$RPM_OPT_FLAGS -w" \
|
||||
%endif
|
||||
|| %{make_check_handling}
|
||||
%endif
|
||||
#
|
||||
#
|
||||
|
Loading…
Reference in New Issue
Block a user