2007-02-22 20:26:05 +01:00
|
|
|
# $NetBSD: hacks.mk,v 1.4 2007/02/22 19:26:32 wiz Exp $
|
2006-03-19 21:06:05 +01:00
|
|
|
|
|
|
|
.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
|
2007-02-22 20:26:05 +01:00
|
|
|
BUILDLINK_TRANSFORM+= rm:-O[0-9]*
|
2006-03-19 21:06:05 +01:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.endif # COIN_HACKS_MK
|