pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/x11/pixman When disabling sse2, also disable sse3.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c88fc2f061ba
branches:  trunk
changeset: 642991:c88fc2f061ba
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Tue Dec 09 11:43:19 2014 +0000

description:
When disabling sse2, also disable sse3.
>From Thomas Orgis on pkgsrc-users.

diffstat:

 x11/pixman/hacks.mk |  7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diffs (29 lines):

diff -r 2f772783aee4 -r c88fc2f061ba x11/pixman/hacks.mk
--- a/x11/pixman/hacks.mk       Tue Dec 09 11:42:10 2014 +0000
+++ b/x11/pixman/hacks.mk       Tue Dec 09 11:43:19 2014 +0000
@@ -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 @@
 .  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"



Home | Main Index | Thread Index | Old Index