summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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