Fridrich Strba 2016-05-31 06:52:27 +00:00 committed by Git OBS Bridge
parent 1d1573c809
commit 721a534a15

View File

@ -429,7 +429,11 @@ export ZLIB_CFLAGS=" "
export ZLIB_LIBS="-L/%{_lib} -lz"
%endif
export CFLAGS="$(rpm -E '%{optflags}' | sed 's/-Wall\>//') -Wno-error -fno-delete-null-pointer-checks -fno-lifetime-dse"
CFLAGS=$(rpm -E '%{optflags}' | sed 's/-Wall\>//')
%if 0%{?suse_version} >= 1330
CFLAGS+=" -Wno-error -fno-delete-null-pointer-checks -fno-lifetime-dse"
%endif
export CFLAGS
export CXXFLAGS=${CFLAGS}
%if %{with_sunec}
export NSS_SOFTOKN_CFLAGS="`pkg-config --cflags nss` -I`pwd`"