From d987cc1021e33edc1a528fcd782a0867a94154df Mon Sep 17 00:00:00 2001 From: apascovici <70730033+apascovici@users.noreply.github.com> Date: Tue, 3 Nov 2020 09:49:47 -0800 Subject: [PATCH] Fix building & repro on local source (#4594) * Fix building & repro on local source With this https://google.github.io/oss-fuzz/advanced-topics/reproducing/#reproduce-using-local-source-checkout actually works * Update Dockerfile Co-authored-by: Abhishek Arya --- projects/quickjs/Dockerfile | 2 +- projects/quickjs/build.sh | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/projects/quickjs/Dockerfile b/projects/quickjs/Dockerfile index c7223a861..3e72ada2e 100644 --- a/projects/quickjs/Dockerfile +++ b/projects/quickjs/Dockerfile @@ -17,6 +17,6 @@ FROM gcr.io/oss-fuzz-base/base-builder RUN apt-get update && apt-get install -y make RUN git clone --depth 1 https://github.com/bellard/quickjs quickjs -WORKDIR $SRC/ +WORKDIR $SRC/quickjs COPY build.sh $SRC/ COPY fuzz*.c $SRC/ diff --git a/projects/quickjs/build.sh b/projects/quickjs/build.sh index 471d5534b..3ab680244 100755 --- a/projects/quickjs/build.sh +++ b/projects/quickjs/build.sh @@ -16,7 +16,6 @@ ################################################################################ # build quickjs -cd quickjs # Makefile should not override CFLAGS sed -i -e 's/CFLAGS=/CFLAGS+=/' Makefile CONFIG_CLANG=y make libquickjs.a