# $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