blob: 82cceb0991cbc59bcac1672b6c2ec2bc8f5c2ca2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
# $NetBSD: hacks.mk,v 1.2 2008/05/06 15:26:57 bjs Exp $
###
.if !defined(GAMBC_HACKS_MK)
GAMBC_HACKS_MK= # empty
. include "../../mk/compiler.mk"
###
### It looks as if the developers don't think O2 is a win. Considering how
### much memory and time this package takes to build the more optimization
### is enabled, let's let the configure script do its job.
###
. if !empty(CC_VERSION:Mgcc-*)
BUILDLINK_TRANSFORM+= rm:-O[2-9s]*
. endif
BUILDLINK_TRANSFORM+= rm:-pipe # XXX takes up too much memory
.endif
|