Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/mit/xorg/lib/pixman build altivec support on powerpc
details: https://anonhg.NetBSD.org/src/rev/3262242214e1
branches: trunk
changeset: 784720:3262242214e1
user: macallan <macallan%NetBSD.org@localhost>
date: Thu Feb 07 13:33:50 2013 +0000
description:
build altivec support on powerpc
diffstat:
external/mit/xorg/lib/pixman/Makefile | 13 ++++++++-----
1 files changed, 8 insertions(+), 5 deletions(-)
diffs (34 lines):
diff -r 5c6bbf301c5e -r 3262242214e1 external/mit/xorg/lib/pixman/Makefile
--- a/external/mit/xorg/lib/pixman/Makefile Thu Feb 07 13:21:34 2013 +0000
+++ b/external/mit/xorg/lib/pixman/Makefile Thu Feb 07 13:33:50 2013 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.18 2013/02/03 12:41:40 jmcneill Exp $
+# $NetBSD: Makefile,v 1.19 2013/02/07 13:33:50 macallan Exp $
NOLINT= 1 # defined
@@ -55,6 +55,13 @@
#COPTS.pixman-sse2.c= -msse2 -fvisibility=hidden
.endif
+.if ${MACHINE_ARCH} == "powerpc"
+SRCS+= pixman-vmx.c
+COPTS.pixman-vmx.c= -maltivec
+CPPFLAGS+= -DUSE_VMX
+MKDEPFLAGS+= -maltivec
+.endif
+
.if ${MACHINE_ARCH} == "earm" || ${MACHINE_ARCH} == "earmhf"
# ARM SIMD
SRCS+= pixman-arm-simd.c \
@@ -71,10 +78,6 @@
CPPFLAGS+= -DUSE_ARM_IWMMXT
.endif
-# .if VMX
-# SRCS+= pixman-vmx.c
-# .endif
-
INCS= pixman.h pixman-version.h
INCSDIR=${X11INCDIR}/pixman-1
Home |
Main Index |
Thread Index |
Old Index