This commit is contained in:
parent
1d1573c809
commit
721a534a15
@ -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`"
|
||||
|
Loading…
x
Reference in New Issue
Block a user