mirror of
https://abf.rosa.ru/djam/nss.git
synced 2025-02-23 16:32:48 +00:00
added -Wno-error flag and NSS_DISABLE_GTESTS=1 option
This commit is contained in:
parent
dcd176e09a
commit
dac4b9b7aa
1 changed files with 6 additions and 1 deletions
7
nss.spec
7
nss.spec
|
@ -135,7 +135,7 @@ find . -name '*.c' -executable -exec chmod -x {} \;
|
|||
%setup_compile_flags
|
||||
export BUILD_OPT=1
|
||||
export OPTIMIZER="%{optflags}"
|
||||
export XCFLAGS="%{optflags}"
|
||||
export XCFLAGS="%{optflags} -Wno-error"
|
||||
export ARCHFLAG="$LDFLAGS"
|
||||
export LIBDIR=%{_libdir}
|
||||
export USE_SYSTEM_ZLIB=1
|
||||
|
@ -148,6 +148,11 @@ export MOZILLA_CLIENT=1
|
|||
export NS_USE_GCC=1
|
||||
export NSS_USE_SYSTEM_SQLITE=1
|
||||
export NSS_ENABLE_ECC=1
|
||||
|
||||
# external tests are causing build problems because they access ssl internal types
|
||||
# TODO: Investigate as there may be a better solution
|
||||
export NSS_DISABLE_GTESTS=1
|
||||
|
||||
%ifarch x86_64 ppc64 ia64 s390x
|
||||
export USE_64=1
|
||||
%endif
|
||||
|
|
Loading…
Add table
Reference in a new issue