summaryrefslogtreecommitdiff
path: root/news
diff options
context:
space:
mode:
authortron <tron>2012-06-17 00:10:40 +0000
committertron <tron>2012-06-17 00:10:40 +0000
commit3603b3416b59efa029374d89d981b30171e31d44 (patch)
tree0b378534eba38daf2ce92dd7f3e2a6f745f3abfc /news
parent2d462d568e6c244ddad02d7677256403b5610bad (diff)
downloadpkgsrc-3603b3416b59efa029374d89d981b30171e31d44.tar.gz
Add a hack to work around a compiler bug under Mac OS X Lion.
Diffstat (limited to 'news')
-rw-r--r--news/knews/hacks.mk11
1 files changed, 11 insertions, 0 deletions
diff --git a/news/knews/hacks.mk b/news/knews/hacks.mk
new file mode 100644
index 00000000000..875f28c0ee3
--- /dev/null
+++ b/news/knews/hacks.mk
@@ -0,0 +1,11 @@
+# $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