summaryrefslogtreecommitdiff
path: root/graphics/Coin/hacks.mk
blob: 50130401714405debfa4331112df4b1f48369c85 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# $NetBSD: hacks.mk,v 1.3 2007/02/19 22:10:43 joerg Exp $

.if !defined(COIN_HACKS_MK)
COIN_HACKS_MK=	defined

###
### Compiling Coin on NetBSD with optimization causes an internal
### compiler error.  This is a workaround for PR toolchain/33097.
### Not sure if other platforms have the same issue.
###
.if ${OPSYS} == "NetBSD"
PKG_HACKS+=		optimization
BUILDLINK_TRANSFORM+=   rm:-O[0-9]*
.endif

.endif	# COIN_HACKS_MK