diff options
Diffstat (limited to 'math/gsl/hacks.mk')
-rw-r--r-- | math/gsl/hacks.mk | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/math/gsl/hacks.mk b/math/gsl/hacks.mk new file mode 100644 index 00000000000..74492607b68 --- /dev/null +++ b/math/gsl/hacks.mk @@ -0,0 +1,13 @@ +# $NetBSD: hacks.mk,v 1.1 2006/03/31 18:57:28 jlam Exp $ + +.include "../../mk/compiler.mk" + +### [Mon Feb 28 12:11:29 2005 UTC : dmcmahill] +### At least gcc-3.3.5 failed to compile gsl-1.6/statistics/lag1.c +### with -mcpu=v9 on a solaris/sparc system. +### +.if (${OPSYS} == "SunOS") && !empty(MACHINE_ARCH:Msparc) && \ + !empty(CC_VERSION:M*gcc*) +PKG_HACKS+= solaris-sparc-ice +BUILDLINK_TRANSFORM+= rm:-mcpu=v9 +.endif |