mirror of https://github.com/google/oss-fuzz.git
[nss] do not override /src/nss
This commit is contained in:
parent
3d325bf20f
commit
8ee9226e05
11
nss/build.sh
11
nss/build.sh
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue