summaryrefslogtreecommitdiffstats
path: root/gnu
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2002-06-08 18:48:40 +0000
committerobrien <obrien@FreeBSD.org>2002-06-08 18:48:40 +0000
commit21588aac50c3ed9cc68164e5f31e1f63dfb093aa (patch)
tree17e9a0956b0d09895c904c60649bb9002ebc422d /gnu
parentef26e821fbc754fe3feb2d5003839df34f51d353 (diff)
downloadFreeBSD-src-21588aac50c3ed9cc68164e5f31e1f63dfb093aa.zip
FreeBSD-src-21588aac50c3ed9cc68164e5f31e1f63dfb093aa.tar.gz
Fix compiling FORTRAN77 programs.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/usr.bin/cc/f77/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/gnu/usr.bin/cc/f77/Makefile b/gnu/usr.bin/cc/f77/Makefile
index 8dda51e..da5e79a 100644
--- a/gnu/usr.bin/cc/f77/Makefile
+++ b/gnu/usr.bin/cc/f77/Makefile
@@ -10,6 +10,7 @@ SRCS= gcc.c g77spec.c version.c
CFLAGS+= -DDEFAULT_TARGET_VERSION=\"$(version)\"
CFLAGS+= -DDEFAULT_TARGET_MACHINE=\"$(target)\"
+CFLAGS+= -DFORTRAN_INIT=\"-lg2c\"
DPADD= ${LIBCC_INT}
LDADD= ${LIBCC_INT}
OpenPOWER on IntegriCloud