summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Mk/bsd.xorg.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/Mk/bsd.xorg.mk b/Mk/bsd.xorg.mk
index 1bc1ed8..6b1a66a 100644
--- a/Mk/bsd.xorg.mk
+++ b/Mk/bsd.xorg.mk
@@ -49,6 +49,11 @@ USE_GNOME+= pkgconfig
. if ${XORG_CAT} == "driver"
USE_GNOME+= pkgconfig
USE_XORG+= xorg-server xproto randrproto xi
+# work around a llvm bug on i386, llvm bug #15806
+# reproduced with clang 3.2 (current release) and 3.1
+. if ${ARCH} == i386
+CFLAGS+= -fno-optimize-sibling-calls
+. endif
CONFIGURE_ENV+= DRIVER_MAN_SUFFIX=4x DRIVER_MAN_DIR='$$(mandir)/man4'
. if ${PORTNAME:M*input*}x != x
USE_XORG+= inputproto videoproto fontsproto renderproto xextproto \