mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-11 10:08:41 +00:00
Bug 1154187 - Improve the build-gcc.sh script to build GCC snapshots. r=tbsaunde
This commit is contained in:
parent
67e9dfaaf8
commit
6d051ab201
@ -23,7 +23,14 @@ make $make_flags || exit 1
|
||||
make install $make_flags DESTDIR=$root_dir || exit 1
|
||||
cd ..
|
||||
|
||||
case "$gcc_version" in
|
||||
*-*)
|
||||
wget -c -P $TMPDIR ftp://gcc.gnu.org/pub/gcc/snapshots/$gcc_version/gcc-$gcc_version.tar.bz2 || exit 1
|
||||
;;
|
||||
*)
|
||||
wget -c -P $TMPDIR ftp://ftp.gnu.org/gnu/gcc/gcc-$gcc_version/gcc-$gcc_version.tar.bz2 || exit 1
|
||||
;;
|
||||
esac
|
||||
tar xjf $TMPDIR/gcc-$gcc_version.tar.bz2
|
||||
cd gcc-$gcc_version
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user