diff options
author | Harish Mahendrakar <harish.mahendrakar@ittiam.com> | 2019-02-01 11:22:56 -0800 |
---|---|---|
committer | Oliver Chang <oliverchang@users.noreply.github.com> | 2019-02-01 11:22:56 -0800 |
commit | 318f52f8248ea208a0b06adf3f61928520159653 (patch) | |
tree | 65e4fb8eac5a5b3e009219033274b4ee53d640b7 /projects/libvpx | |
parent | 3f97744eab5dc88363edc3810b7afcb15f8e4c32 (diff) | |
download | oss-fuzz-318f52f8248ea208a0b06adf3f61928520159653.tar.gz |
[libvpx] Disable encoders in libvpx (#2126)
Disable encoders while building libvpx
Current tools_common.c requires y4minput.c when encoders are enabled.
Instead of adding y4minput while linking fuzzer binary, encoders are
disabled during libvpx configure.
This resolves undefined reference to functions in y4minput.c
Diffstat (limited to 'projects/libvpx')
-rwxr-xr-x | projects/libvpx/build.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/projects/libvpx/build.sh b/projects/libvpx/build.sh index e2e6acdbb..75c2f232e 100755 --- a/projects/libvpx/build.sh +++ b/projects/libvpx/build.sh @@ -35,7 +35,9 @@ LDFLAGS="$CXXFLAGS" LD=$CXX $SRC/libvpx/configure \ --size-limit=12288x12288 \ --extra-cflags="${extra_c_flags}" \ --disable-webm-io \ - --enable-debug + --enable-debug \ + --disable-vp8-encoder \ + --disable-vp9-encoder make -j$(nproc) all popd |