diff options
author | jperkin <jperkin@pkgsrc.org> | 2013-12-10 11:44:47 +0000 |
---|---|---|
committer | jperkin <jperkin@pkgsrc.org> | 2013-12-10 11:44:47 +0000 |
commit | 1a5b72da4a1c48ad9da015b2ec6fac13baaea7fe (patch) | |
tree | 2dac5bffaccb4cda1b3dcffb783f469bf3b6772d /lang | |
parent | 207b5b095ce08963eecfbb95358834949f6dea6f (diff) | |
download | pkgsrc-1a5b72da4a1c48ad9da015b2ec6fac13baaea7fe.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 |