diff --git a/nss.spec b/nss.spec index 58f93ff..f01eec2 100644 --- a/nss.spec +++ b/nss.spec @@ -262,7 +262,7 @@ sed -i 's!gcc!%{__cc}!g' nss/coreconf/Linux.mk %build %serverbuild -%set_build_flags +%setup_compile_flags export CC=gcc export BUILD_OPT=1 export OPTIMIZER="%{optflags}" @@ -307,9 +307,9 @@ export USE_64=1 unset USE_64 || : %endif -%make_build -j1 -C ./nss/coreconf -%make_build -j1 -C ./nss/lib/dbm -%make_build -j1 -C ./nss +%make -j1 -C ./nss/coreconf +%make -j1 -C ./nss/lib/dbm +%make -j1 -C ./nss %if %{build_empty} # tuck away the empty libnssckbi.so library @@ -346,8 +346,8 @@ pushd nss/lib/ckfw/builtins # recreate certificates perl ./certdata.perl /etc/pki/tls/mozilla/certdata.txt -%make_build clean -%make_build -j1 +%make clean +%make -j1 popd export LD_LIBRARY_PATH="$OLD"