summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2013-10-22 14:27:24 +0000
committerjperkin <jperkin@pkgsrc.org>2013-10-22 14:27:24 +0000
commit3bb39c712281550677e7f203ccb63afcad40873f (patch)
tree1f8be46b8ad2a2d6a4c478104923ce69397cdf93
parent51a94fb4fda821b0cf414859023bc97fbfbdf761 (diff)
downloadpkgsrc-3bb39c712281550677e7f203ccb63afcad40873f.tar.gz
Disable optimisation on OSX, as a workaround for QTBUG-5986.
-rw-r--r--x11/qt4-tools/hacks.mk7
1 files changed, 6 insertions, 1 deletions
diff --git a/x11/qt4-tools/hacks.mk b/x11/qt4-tools/hacks.mk
index de2cf62bb13..2782d35d410 100644
--- a/x11/qt4-tools/hacks.mk
+++ b/x11/qt4-tools/hacks.mk
@@ -1,4 +1,4 @@
-# $NetBSD: hacks.mk,v 1.1 2012/09/25 08:07:31 apb Exp $
+# $NetBSD: hacks.mk,v 1.2 2013/10/22 14:27:24 jperkin Exp $
### [Sat Sep 22 11:21:06 UTC 2012 : apb]
### g++-4.5.3 and 4.5.4 on NetBSD/i386 fails with an internal compiler error
@@ -15,3 +15,8 @@ SUBST_FILES.pr46978= src/gui/Makefile
SUBST_SED.pr46978= -e '/^CXXFLAGS/s/-O2/-O1/'
. endif
.endif
+
+# QTBUG-5986
+.if ${OPSYS} == "Darwin"
+BUILDLINK_TRANSFORM+= rm:-O[23]
+.endif