Fixup fromcvs/togit conversion
[minix-pkgsrc.git] / lang / gambc / hacks.mk
blob724d2e3d0d37b325339bd1958f4ba14c1730aafc
1 # $NetBSD: hacks.mk,v 1.1.1.1 2008/04/28 04:14:31 bjs Exp $
2 ###
3 .if !defined(GAMBC_HACKS_MK)
4 GAMBC_HACKS_MK= # empty
5 . include "../../mk/compiler.mk"
6 ###
7 ### It looks as if the developers don't think O2 is a win. Considering how
8 ### much memory and time this package takes to build the more optimization
9 ### is enabled, let's let the configure script do its job.
10 ###
11 . if !empty(CC_VERSION:Mgcc-*)
12 BUILDLINK_TRANSFORM+= rm:-O[2-9s]*
13 . endif
14 BUILDLINK_TRANSFORM+= rm:-pipe # XXX takes up too much memory
15 .endif