summaryrefslogtreecommitdiff
path: root/graphics/Coin/hacks.mk
blob: dd57f1c7afac1db16ae9e667fed6b78e97a8b2d4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# $NetBSD: hacks.mk,v 1.1 2006/03/19 20:06:05 minskim 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