[nss] Fix nss build broken after changes for checking out library sources (#40).

This commit is contained in:
mmoroz 2016-10-19 13:39:41 +02:00
parent e6977f3b60
commit e3028b4705
2 changed files with 7 additions and 5 deletions

View File

@ -18,6 +18,9 @@ FROM ossfuzz/base-libfuzzer
MAINTAINER mmoroz@chromium.org
RUN apt-get install -y make autoconf automake libtool mercurial zlib1g-dev
RUN hg clone https://hg.mozilla.org/projects/nspr
RUN hg clone https://hg.mozilla.org/projects/nss
# Need to create 'work' subdir for nss and nspr sources, because '/src/nss' is
# occupied by oss-fuzz sources checked out using dummy path from Jenkinsfile.
RUN mkdir -p work
RUN hg clone https://hg.mozilla.org/projects/nspr work/nspr
RUN hg clone https://hg.mozilla.org/projects/nss work/nss
COPY build.sh fuzzers/* /src/

View File

@ -16,9 +16,8 @@
################################################################################
# Build the library.
cd /work/nss/nss
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
cd work/nss
make BUILD_OPT=1 USE_64=1 NSS_DISABLE_GTESTS=1 ZDEFS_FLAG= clean nss_build_all
cd ..
# Copy libraries and some objects to /work/nss/lib.