Commit 4ba38aa8 authored by Simon Brass's avatar Simon Brass
Browse files

[gcc-build] fix download prerequisite

parent 851dbd67
......@@ -28,10 +28,12 @@ export CPLUS_INCLUDE_PATH
tar jxf $TAR_FILE || error_exit "Extracting GCC failed. Abort."
mv $INST_DIR $SRC
(cd $SRC && ./contrib/download_prerequisites > prerequisite.log) || error_exit "Download prerequisite failed. Abort."
mkdir $INST_DIR
cd $INST_DIR
../$SRC/contrib/download_prerequisites > prerequisite.log || error_exit "Download prerequisite failed. Abort."
../$SRC/configure --enable-languages=c,c++,fortran --disable-multilib -prefix=$PREFIX > configure.log || error_exit "Configuration failed. Abort."
make $MAKE_FLAGS -s V=0 > make.log || error_exit "Make failed. Abort."
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment