diff options
author | jperkin <jperkin> | 2013-12-10 11:44:47 +0000 |
---|---|---|
committer | jperkin <jperkin> | 2013-12-10 11:44:47 +0000 |
commit | fe7fd53b58b12c4b4fca5ec362781134a6f45071 (patch) | |
tree | 2dac5bffaccb4cda1b3dcffb783f469bf3b6772d /lang | |
parent | 9aae24ef0e74de8bf5d181aa59069c3dff3a2189 (diff) | |
download | pkgsrc-fe7fd53b58b12c4b4fca5ec362781134a6f45071.tar.gz |
Fix relocation errors on OSX.
Diffstat (limited to 'lang')
-rw-r--r-- | lang/g95/Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lang/g95/Makefile b/lang/g95/Makefile index 234174ef9eb..eee19a97569 100644 --- a/lang/g95/Makefile +++ b/lang/g95/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.19 2013/09/20 23:06:07 joerg Exp $ +# $NetBSD: Makefile,v 1.20 2013/12/10 11:44:47 jperkin Exp $ DISTNAME= g95_source PKGNAME= g95-0.93 @@ -29,6 +29,9 @@ GCC_CONFIGURE_ARGS= ${CONFIGURE_ARGS} GCC_CONFIGURE_ARGS+= --enable-languages=c GCC_CONFIGURE_ARGS+= --disable-multilib +# Avoid "ld: illegal text-relocation to half in .libs/x87.o" +LDFLAGS.Darwin+= -Wl,-read_only_relocs,suppress + .include "../../mk/bsd.prefs.mk" .if ${OPSYS} == "SunOS" GCC_CONFIGURE_ENV+= OBJDUMP=/usr/sfw/bin/gobjdump |