summaryrefslogtreecommitdiff
path: root/graphics/tgif/hacks.mk
blob: 0bce6d8c6616189372b3fdc1736078e4118174fc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# $NetBSD: hacks.mk,v 1.3 2013/04/06 11:23:05 rodent Exp $

.if !defined(FOO_TGIF_MK)
TGIF_HACKS_MK=	defined

### [Mon Jan 15 17:44:27 EST 2007 : dmcmahill]
### Sunpro cc (Sun C 5.8 2005/10/13) on SunOS-5.9/sparc
### src/arc.c
###
### cc: Fatal error in /opt/SUNWspro/prod/bin/iropt
### Status 139
### cc: iropt failed for arc.c
###
### Work around by not optimizing

.if !empty(PKGSRC_COMPILER:Msunpro)
PKG_HACKS+=	optimisation
BUILDLINK_TRANSFORM+= rm:-O[0-9]*
.endif

.endif  # TGIF_HACKS_MK