summaryrefslogtreecommitdiff
path: root/gcc.morph.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'gcc.morph.yaml')
-rw-r--r--gcc.morph.yaml7
1 files changed, 6 insertions, 1 deletions
diff --git a/gcc.morph.yaml b/gcc.morph.yaml
index 93036a19af..498a60bb55 100644
--- a/gcc.morph.yaml
+++ b/gcc.morph.yaml
@@ -21,7 +21,8 @@ configure-commands:
--prefix="$PREFIX" \
`# [1]` --libdir=$PREFIX/lib \
--disable-nls \
- --enable-languages=c,c++ --enable-shared --enable-threads=posix \
+ --enable-languages=c,c++,fortran \
+ --enable-shared --enable-threads=posix \
`# [2]` --disable-multilib \
`# [3]` --disable-libgomp --without-cloog --without-ppl \
`# [4]` --enable-__cxa_atexit \
@@ -35,3 +36,7 @@ build-commands:
install-commands:
- cd o && make DESTDIR="$DESTDIR" install
- ln -s gcc "$DESTDIR/$PREFIX/bin/cc"
+ - >
+ for fortran_alias in f77 f90 f95; do
+ ln -s gfortran "$DESTDIR/$PREFIX/bin/$fortran_alias"
+ done