mirror of https://github.com/google/oss-fuzz.git
[python3-libraries] Fix coverage build (#2600)
Coverage builds were failing due to FLAGS being empty which threw an 'unbound variable' error.
This commit is contained in:
parent
59be14786b
commit
fde1306c40
|
@ -52,7 +52,7 @@ cp $SRC/python-library-fuzzers/python_coverage.h Python/
|
|||
sed -i '1 s/^.*$/#include "python_coverage.h"/g' Python/ceval.c
|
||||
sed -i 's/case TARGET\(.*\): {/\0\nfuzzer_record_code_coverage(f->f_code, f->f_lasti);/g' Python/ceval.c
|
||||
|
||||
./configure "${FLAGS[@]}" --prefix=$CPYTHON_INSTALL_PATH
|
||||
./configure "${FLAGS[@]+"${FLAGS[@]}"}" --prefix=$CPYTHON_INSTALL_PATH
|
||||
make -j$(nproc)
|
||||
make install
|
||||
|
||||
|
|
Loading…
Reference in New Issue