Commit b83af3dd authored by Simon Brass's avatar Simon Brass
Browse files

[gcc-build] cd back to PWD

parent 4ba38aa8
......@@ -28,13 +28,11 @@ export CPLUS_INCLUDE_PATH
tar jxf $TAR_FILE || error_exit "Extracting GCC failed. Abort."
(cd $SRC && ./contrib/download_prerequisites > prerequisite.log) || error_exit "Download prerequisite failed. Abort."
(cd $SRC && (./contrib/download_prerequisites > prerequisite.log || error_exit "Download prerequisite failed. Abort.") && cd -)
mkdir $INST_DIR
../$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