Skip to content

Commit

Permalink
Export EXTRA_CMAKE_FLAGS to remove the "unbound variable" error (#2041)
Browse files Browse the repository at this point in the history
BUG=oss-fuzz:67018
  • Loading branch information
vrabaud authored Feb 26, 2024
1 parent 51b6adf commit e7ab3d4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/oss-fuzz/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,8 @@ if [ "$FUZZING_ENGINE" == "libfuzzer" ]
then
export CXXFLAGS="${CXXFLAGS} -DFUZZTEST_COMPATIBILITY_MODE"
export EXTRA_CMAKE_FLAGS="-DAVIF_ENABLE_FUZZTEST=ON -DFUZZTEST_COMPATIBILITY_MODE=libfuzzer"
else
export EXTRA_CMAKE_FLAGS=""
fi
cmake .. -G Ninja -DBUILD_SHARED_LIBS=OFF -DAVIF_CODEC_AOM=LOCAL -DAVIF_CODEC_DAV1D=LOCAL \
-DAVIF_CODEC_AOM_DECODE=ON -DAVIF_CODEC_AOM_ENCODE=ON \
Expand Down

0 comments on commit e7ab3d4

Please sign in to comment.