[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:
Guido Vranken 2019-07-13 23:38:06 +02:00 committed by Abhishek Arya
parent 59be14786b
commit fde1306c40
1 changed files with 1 additions and 1 deletions

View File

@ -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