updates for pixman 0.32.4 and x86.
This commit is contained in:
parent
2c51d1ae0f
commit
51d2582a19
22
external/mit/xorg/lib/pixman/Makefile
vendored
22
external/mit/xorg/lib/pixman/Makefile
vendored
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.27 2014/01/30 19:24:06 riz Exp $
|
||||
# $NetBSD: Makefile,v 1.28 2014/03/17 01:41:46 mrg Exp $
|
||||
|
||||
NOLINT= 1 # defined
|
||||
|
||||
@ -45,20 +45,21 @@ SRCS+= \
|
||||
|
||||
# XXX
|
||||
|
||||
.if ${MACHINE_ARCH} == "i386"
|
||||
.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64"
|
||||
. if ${MACHINE_ARCH} == "i386"
|
||||
SRCS+= pixman-mmx.c
|
||||
COPTS.pixman-mmx.c= -mmmx -fvisibility=hidden
|
||||
. if defined(HAVE_LLVM)
|
||||
. if defined(HAVE_LLVM)
|
||||
COPTS.pixman-mmx.c+= -Wno-error=attributes
|
||||
. endif
|
||||
CPPFLAGS+= -DUSE_X86_MMX
|
||||
MKDEPFLAGS+= -mmmx
|
||||
. endif
|
||||
MKDEPFLAGS+= -mmmx -msse2 -fvisibility=hidden
|
||||
SRCS+= pixman-sse2.c
|
||||
SRCS+= pixman-sse2.c pixman-ssse3.c
|
||||
COPTS.pixman-sse2.c= -msse2 -fvisibility=hidden
|
||||
CPPFLAGS+= -DUSE_SSE2 -DUSE_X86_MMX
|
||||
.elif ${MACHINE_ARCH} == "x86_64"
|
||||
SRCS+= pixman-sse2.c
|
||||
COPTS.pixman-sse2.c= -msse2 -fvisibility=hidden
|
||||
CPPFLAGS+= -DUSE_SSE2
|
||||
COPTS.pixman-ssse3.c= -msse3 -mssse3 -fvisibility=hidden
|
||||
CPPFLAGS+= -DUSE_SSE2 -DUSE_SSE3
|
||||
MKDEPFLAGS+= -msse2 -mssse3 -mssse3 -fvisibility=hidden
|
||||
.endif
|
||||
|
||||
.if ${MACHINE_ARCH} == "powerpc"
|
||||
@ -68,7 +69,6 @@ CPPFLAGS+= -DUSE_VMX
|
||||
MKDEPFLAGS+= -maltivec
|
||||
.endif
|
||||
|
||||
|
||||
.if !empty(MACHINE_ARCH:Mearm*)
|
||||
# ARM SIMD
|
||||
SRCS+= pixman-arm-simd.c \
|
||||
|
Loading…
x
Reference in New Issue
Block a user