mirror of https://github.com/google/oss-fuzz.git
snappy: Build fix. (#4906)
This commit is contained in:
parent
a49b7f7e2c
commit
9918fe9030
|
@ -16,7 +16,7 @@
|
|||
|
||||
FROM gcr.io/oss-fuzz-base/base-builder
|
||||
RUN apt-get update && apt-get install -y make autoconf automake libtool gettext pkg-config build-essential
|
||||
RUN git clone https://github.com/google/snappy
|
||||
RUN git clone --recurse-submodules https://github.com/google/snappy
|
||||
|
||||
WORKDIR $SRC/
|
||||
COPY build.sh $SRC/
|
||||
|
|
|
@ -16,7 +16,8 @@
|
|||
################################################################################
|
||||
|
||||
cd $SRC/snappy
|
||||
mkdir build
|
||||
cd build && cmake -DSNAPPY_FUZZING_BUILD=ON -DSNAPPY_BUILD_TESTS=OFF ../ && make
|
||||
mkdir -p build && cd build
|
||||
cmake -DSNAPPY_FUZZING_BUILD=ON -DSNAPPY_BUILD_TESTS=0 \
|
||||
-DSNAPPY_BUILD_BENCHMARKS=0 ../ && cmake --build .
|
||||
|
||||
cp *_fuzzer $OUT/
|
||||
cp *_fuzzer $OUT/
|
||||
|
|
Loading…
Reference in New Issue