summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--x11/pixman/hacks.mk7
1 files changed, 4 insertions, 3 deletions
diff --git a/x11/pixman/hacks.mk b/x11/pixman/hacks.mk
index 72dda7279fa..4f4e4576482 100644
--- a/x11/pixman/hacks.mk
+++ b/x11/pixman/hacks.mk
@@ -1,4 +1,4 @@
-# $NetBSD: hacks.mk,v 1.9 2012/07/15 05:18:30 obache Exp $
+# $NetBSD: hacks.mk,v 1.10 2014/12/09 11:43:19 wiz Exp $
#
.if !defined(PIXMAN_HACKS_MK)
PIXMAN_HACKS_MK= # empty
@@ -6,16 +6,17 @@ PIXMAN_HACKS_MK= # empty
. include "../../mk/compiler.mk"
###
### XXX SSE2 intrinsics require gcc-4.2+ to build.
+### XXX Need to disable SSSE3 explicitly, too.
###
.if empty(CC_VERSION:Mgcc-4.[2-9]*) && \
empty(CC_VERSION:Mgcc-[5-9].*) && \
empty(CC_VERSION:Mgcc-[1-9][0-9]*)
-CONFIGURE_ARGS+= --disable-sse2
+CONFIGURE_ARGS+= --disable-sse2 --disable-ssse3
.endif
.endif
.if !empty(PKGSRC_COMPILER:Msunpro)
-CONFIGURE_ARGS+= --disable-sse2 --disable-mmx
+CONFIGURE_ARGS+= --disable-sse2 --disable-mmx --disable-ssse3
.endif
.if ${OPSYS} == "MirBSD"