From 21588aac50c3ed9cc68164e5f31e1f63dfb093aa Mon Sep 17 00:00:00 2001 From: obrien Date: Sat, 8 Jun 2002 18:48:40 +0000 Subject: Fix compiling FORTRAN77 programs. --- gnu/usr.bin/cc/f77/Makefile | 1 + 1 file changed, 1 insertion(+) (limited to 'gnu') 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} -- cgit v1.1