[BACK]Return to hacks.mk CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / news / knews

File: [cvs.NetBSD.org] / pkgsrc / news / knews / hacks.mk (download)

Revision 1.1, Sun Jun 17 00:10:40 2012 UTC (8 years, 7 months ago) by tron
Branch: MAIN
CVS Tags: pkgsrc-2014Q3-base, pkgsrc-2014Q3, pkgsrc-2014Q2-base, pkgsrc-2014Q2, pkgsrc-2014Q1-base, pkgsrc-2014Q1, pkgsrc-2013Q4-base, pkgsrc-2013Q4, pkgsrc-2013Q3-base, pkgsrc-2013Q3, pkgsrc-2013Q2-base, pkgsrc-2013Q2, pkgsrc-2013Q1-base, pkgsrc-2013Q1, pkgsrc-2012Q4-base, pkgsrc-2012Q4, pkgsrc-2012Q3-base, pkgsrc-2012Q3, pkgsrc-2012Q2-base, pkgsrc-2012Q2

Add a hack to work around a compiler bug under Mac OS X Lion.

# $NetBSD: hacks.mk,v 1.1 2012/06/17 00:10:40 tron 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+=	rename:-O2:-O1
.endif