diff options
Diffstat (limited to 'gnu/usr.bin')
-rw-r--r-- | gnu/usr.bin/cc/cc_tools/freebsd-native.h | 1 | ||||
-rw-r--r-- | gnu/usr.bin/cc/f77/Makefile | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/gnu/usr.bin/cc/cc_tools/freebsd-native.h b/gnu/usr.bin/cc/cc_tools/freebsd-native.h index ce6c982..a102a89 100644 --- a/gnu/usr.bin/cc/cc_tools/freebsd-native.h +++ b/gnu/usr.bin/cc/cc_tools/freebsd-native.h @@ -51,6 +51,7 @@ #define LIBGCC_SPEC "%{!pg: -lgcc} %{pg: -lgcc_p}" #define LIBSTDCXX_PROFILE "-lstdc++_p" #define MATH_LIBRARY_PROFILE "-lm_p" +#define FORTRAN_LIBRARY_PROFILE "-lg2c_p" /* FreeBSD is 4.4BSD derived */ #define bsd4_4 diff --git a/gnu/usr.bin/cc/f77/Makefile b/gnu/usr.bin/cc/f77/Makefile index da5e79a..4902ba5 100644 --- a/gnu/usr.bin/cc/f77/Makefile +++ b/gnu/usr.bin/cc/f77/Makefile @@ -10,7 +10,7 @@ SRCS= gcc.c g77spec.c version.c CFLAGS+= -DDEFAULT_TARGET_VERSION=\"$(version)\" CFLAGS+= -DDEFAULT_TARGET_MACHINE=\"$(target)\" -CFLAGS+= -DFORTRAN_INIT=\"-lg2c\" +CFLAGS+= -DFORTRAN_INIT=\"-lg2c\" -DFORTRAN_INIT_PROFILE=\"-lg2c_p\" DPADD= ${LIBCC_INT} LDADD= ${LIBCC_INT} |