forked from mirrors/nixpkgs
update-gcc.sh: Add support for Ada.
svn path=/nixpkgs/trunk/; revision=21401
This commit is contained in:
parent
a2bd7f82d7
commit
689914a5b2
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue