[nss] do not override /src/nss

This commit is contained in:
Mike Aizatsky 2016-10-11 14:20:41 -07:00
parent 3d325bf20f
commit 8ee9226e05
1 changed files with 2 additions and 9 deletions

View File

@ -15,17 +15,10 @@
# #
################################################################################ ################################################################################
cd /src/nss
# Check out the code using mercurial.
rm -rf nspr
rm -rf nss
hg clone https://hg.mozilla.org/projects/nspr
hg clone https://hg.mozilla.org/projects/nss
# Build the library. # Build the library.
mkdir -p /work/nss mkdir -p /work/nss
cp -u -r /src/nss/* /work/nss/ hg clone https://hg.mozilla.org/projects/nspr
hg clone https://hg.mozilla.org/projects/nss
cd /work/nss/nss cd /work/nss/nss
make BUILD_OPT=1 USE_64=1 NSS_DISABLE_GTESTS=1 CC="$CC $CFLAGS" \ make BUILD_OPT=1 USE_64=1 NSS_DISABLE_GTESTS=1 CC="$CC $CFLAGS" \
CXX="$CXX $CXXFLAGS" LD="$CC $CFLAGS" ZDEFS_FLAG= clean nss_build_all CXX="$CXX $CXXFLAGS" LD="$CC $CFLAGS" ZDEFS_FLAG= clean nss_build_all