diff options
author | tnn <tnn> | 2009-12-16 22:28:32 +0000 |
---|---|---|
committer | tnn <tnn> | 2009-12-16 22:28:32 +0000 |
commit | 5d15b701708c75abc7f376dfd507294762795685 (patch) | |
tree | 8dd3571454f345b4e683a9b9fe7c4df5db6e9230 /x11 | |
parent | ba839312ce33aba88f3ab359c0d060839b2a16cb (diff) | |
download | pkgsrc-5d15b701708c75abc7f376dfd507294762795685.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')
-rw-r--r-- | x11/pixman/hacks.mk | 9 |
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 |