@@ -19,7 +19,7 @@ build_and_install()
1919 " ${PWD} " /contrib/download_prerequisites
2020 info " popd"
2121 popd
22- info " Configuring with the following command:"
22+ info " Configuring gcc/g++/gfortran builds with the following command:"
2323 info " ${download_path} /${package_source_directory} /configure --prefix=${install_path} --enable-languages=c,c++,fortran,lto --disable-multilib --disable-werror"
2424 " ${download_path} /${package_source_directory} /configure" --prefix=" ${install_path} " --enable-languages=c,c++,fortran,lto --disable-multilib --disable-werror
2525 info " Building with the following command: 'make -j${num_threads} bootstrap'"
@@ -32,11 +32,11 @@ build_and_install()
3232 ${SUDO:- } make install
3333 else
3434 info " Configuring ${package_to_build} ${version_to_build} with the following command:"
35- info " CC=\" ${CC:- ' gcc' } \" CXX=\" ${CXX:- ' g++' } \" \" ${download_path} /${package_source_directory} \" /configure --prefix=\" ${install_path} \" "
36- CC=" ${CC:- ' gcc' } " CXX=" ${CXX:- ' g++' } " " ${download_path} /${package_source_directory} " /configure --prefix=" ${install_path} "
35+ info " FC= \" ${FC :- ' gfortran ' } \" CC=\" ${CC:- ' gcc' } \" CXX=\" ${CXX:- ' g++' } \" \" ${download_path} /${package_source_directory} \" /configure --prefix=\" ${install_path} \" "
36+ FC= " ${FC :- ' gfortran ' } " CC=" ${CC:- ' gcc' } " CXX=" ${CXX:- ' g++' } " " ${download_path} /${package_source_directory} " /configure --prefix=" ${install_path} "
3737 info " Building with the following command:"
38- info " CC=\" ${CC:- ' gcc' } \" CXX=\" ${CXX:- ' g++' } \" make -j\" ${num_threads} \" "
39- CC=" ${CC:- ' gcc' } " CXX=" ${CXX:- ' g++' } " make " -j${num_threads} "
38+ info " FC= \" ${FC :- ' gfortran ' } \" CC=\" ${CC:- ' gcc' } \" CXX=\" ${CXX:- ' g++' } \" make -j\" ${num_threads} \" "
39+ FC= " ${FC :- ' gfortran ' } " CC=" ${CC:- ' gcc' } " CXX=" ${CXX:- ' g++' } " make " -j${num_threads} "
4040 info " Installing ${package_to_build} in ${install_path} "
4141 if [[ ! -z " ${SUDO:- } " ]]; then
4242 info " You do not have write permissions to the installation path ${install_path} "
0 commit comments