diff --git a/projects/unrar/Dockerfile b/projects/unrar/Dockerfile index f7d78c0e3..cc61b2698 100644 --- a/projects/unrar/Dockerfile +++ b/projects/unrar/Dockerfile @@ -18,7 +18,7 @@ FROM gcr.io/oss-fuzz-base/base-builder MAINTAINER vakh@chromium.org RUN apt-get update && apt-get install -y make build-essential -RUN git clone -b v5.6.8 --depth 1 https://github.com/aawc/unrar.git +RUN git clone -b oss_fuzz --depth 1 https://github.com/aawc/unrar.git WORKDIR unrar COPY build.sh $SRC/ diff --git a/projects/unrar/build.sh b/projects/unrar/build.sh index 3076f9586..c9fdbf46b 100644 --- a/projects/unrar/build.sh +++ b/projects/unrar/build.sh @@ -15,7 +15,7 @@ # ################################################################################ -UNRAR_DEFINES="-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DRARDLL -DSILENT" +UNRAR_DEFINES="-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP -DRARDLL -DSILENT -DNOVOLUME" UNRAR_WNOS="-Wno-logical-op-parentheses -Wno-switch -Wno-dangling-else" UNRAR_SRC_DIR="$SRC/unrar"