SHA256
3
0
forked from pool/binutils
Richard Biener 2011-01-11 16:42:11 +00:00 committed by Git OBS Bridge
parent b4a8e6637c
commit 2d05369731

View File

@ -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
#
#