pkgsrc/news/knews/hacks.mk
jperkin c24ed9c54f The "rename" rule is a published synonym for the "opt" transform rule, however
only the latter is supported by cwrappers.  Change them all to "opt" rules for
consistency and to gain compatibility with cwrappers.
2014-12-15 11:46:34 +00:00

11 lines
376 B
Makefile

# $NetBSD: hacks.mk,v 1.2 2014/12/15 11:46:36 jperkin Exp $
### [Sun 17 Jun 2012 00:05:38 UTC : tron]
### GCC 4.2.1 (Based on Apple Inc. build 5658) as shipped with
### Mac OS X Lion gets stuck in an endless loop while compiling
### this package.
.if !empty(MACHINE_PLATFORM:MDarwin-11.*-i386)
PKG_HACKS+= macosx-lion-compiler-hang
BUILDLINK_TRANSFORM+= opt:-O2:-O1
.endif