summaryrefslogtreecommitdiff
path: root/x11/pixman
diff options
context:
space:
mode:
authortnn <tnn@pkgsrc.org>2009-12-16 22:28:32 +0000
committertnn <tnn@pkgsrc.org>2009-12-16 22:28:32 +0000
commit51b792cd6a5f8f1dd1c41e714e2df8af536d09ec (patch)
tree8dd3571454f345b4e683a9b9fe7c4df5db6e9230 /x11/pixman
parent328cf3d8c140bb466bae418ed83a90a1d39378d6 (diff)
downloadpkgsrc-51b792cd6a5f8f1dd1c41e714e2df8af536d09ec.tar.gz
Compilation failed on Sun Studio 12. Disable mmx/sse2.
Please don't re-enable this without extensive tests, it seems fragile.
Diffstat (limited to 'x11/pixman')
-rw-r--r--x11/pixman/hacks.mk9
1 files changed, 6 insertions, 3 deletions
diff --git a/x11/pixman/hacks.mk b/x11/pixman/hacks.mk
index ef096d66730..f6290f9c768 100644
--- a/x11/pixman/hacks.mk
+++ b/x11/pixman/hacks.mk
@@ -1,4 +1,4 @@
-# $NetBSD: hacks.mk,v 1.3 2009/04/23 08:30:53 sno Exp $
+# $NetBSD: hacks.mk,v 1.4 2009/12/16 22:28:32 tnn Exp $
#
.if !defined(PIXMAN_HACKS_MK)
PIXMAN_HACKS_MK= # empty
@@ -8,9 +8,12 @@ PIXMAN_HACKS_MK= # empty
### XXX SSE2 intrinsics require gcc-4.2+ to build unless
### ${MACHINE_ARCH} == "x86_64".
###
-. if empty(PKGSRC_COMPILER:Msunpro) && \
- (empty(MACHINE_ARCH:Mx86_64) && \
+.if (empty(MACHINE_ARCH:Mx86_64) && \
(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
. endif
.endif
+
+.if !empty(PKGSRC_COMPILER:Msunpro)
+CONFIGURE_ARGS+= --disable-sse2 --disable-mmx
+.endif