13 lines
418 B
Makefile
13 lines
418 B
Makefile
# $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
|