3
0
Fork 0
forked from mirrors/nixpkgs

update-gcc.sh: Add support for Ada.

svn path=/nixpkgs/trunk/; revision=21401
This commit is contained in:
Ludovic Courtès 2010-04-28 12:37:02 +00:00
parent a2bd7f82d7
commit 689914a5b2

View file

@ -20,16 +20,17 @@ options["core"]="/* langC */ true"
options["g++"]="langCC"
options["fortran"]="langFortran"
options["java"]="langJava"
options["ada"]="langAda"
cat > "$out"<<EOF
/* Automatically generated by \`$(basename $0)', do not edit.
For GCC ${version}. */
{ fetchurl, optional, version, langC, langCC, langFortran, langJava }:
{ fetchurl, optional, version, langC, langCC, langFortran, langJava, langAda }:
assert version == "${version}";
EOF
for component in core g++ fortran java
for component in core g++ fortran java ada
do
dir="ftp.gnu.org/gnu/gcc/gcc-${version}"
file="gcc-${component}-${version}.tar.bz2"