Skip to content

Commit af51b84

Browse files
author
Damian Rouson
committed
fix bootstrap_build argument
1 parent bcf1de0 commit af51b84

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

prerequisites/build-functions/build_and_install.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,8 +100,8 @@ build_and_install()
100100
info "Configuring gcc/g++/gfortran builds with the following command:"
101101
info "${download_path}/${package_source_directory}/configure --prefix=${install_path} --enable-languages=c,c++,fortran,lto --disable-multilib --disable-werror ${bootstrap_configure}"
102102
"${download_path}/${package_source_directory}/configure" --prefix="${install_path}" --enable-languages=c,c++,fortran,lto --disable-multilib --disable-werror "${bootstrap_configure}"
103-
info "Building with the following command: 'make -j${num_threads} ${bootstrap_build}'"
104-
make "-j${num_threads}" "${bootstrap_build}"
103+
info "Building with the following command: make -j ${num_threads} ${bootstrap_build}"
104+
make -j ${num_threads} ${bootstrap_build:-}
105105
if [[ -n "${SUDO:-}" ]]; then
106106
info "You do not have write permissions to the installation path ${install_path}"
107107
info "If you have administrative privileges, enter your password to install ${package_to_build}"

0 commit comments

Comments
 (0)