blob: 74492607b688be1b58ded900f730f2465fe3844e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
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
|