diff --git a/projects/cpython3/build.sh b/projects/cpython3/build.sh index aab1b8219..6f06f2a5a 100644 --- a/projects/cpython3/build.sh +++ b/projects/cpython3/build.sh @@ -25,7 +25,7 @@ case $SANITIZER in FLAGS+=("--with-undefined-behavior-sanitizer") ;; esac -./configure "${FLAGS[@]}" --prefix $OUT +./configure "${FLAGS[@]:-}" --prefix $OUT # We use altinstall to avoid having the Makefile create symlinks make -j$(nproc) altinstall diff --git a/projects/python3-libraries/build.sh b/projects/python3-libraries/build.sh index d6f9dfd53..0c75c07ea 100755 --- a/projects/python3-libraries/build.sh +++ b/projects/python3-libraries/build.sh @@ -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[@]+"${FLAGS[@]}"}" --prefix=$CPYTHON_INSTALL_PATH +./configure "${FLAGS[@]:-}" --prefix=$CPYTHON_INSTALL_PATH make -j$(nproc) make install