pkgsrc/x11/pixman/hacks.mk
sno 0a8a876a15 Update to pixman-0.15.2 from 0.12.0
Upstream changes (since 0.12.0):
  - Fix MMX & SSE intrinsics to work with Sun compilers & Solaris
  - More SSE2 optimizations
  - Optimize rectilinear nearest-neighbour scaling
  - Add support for BGRA and BGRx formats
  and a lot of minor bug fixes and optimizations

Oked by wiz@
2009-04-23 08:30:53 +00:00

16 lines
524 B
Makefile

# $NetBSD: hacks.mk,v 1.3 2009/04/23 08:30:53 sno Exp $
#
.if !defined(PIXMAN_HACKS_MK)
PIXMAN_HACKS_MK= # empty
. include "../../mk/bsd.fast.prefs.mk"
. include "../../mk/compiler.mk"
###
### XXX SSE2 intrinsics require gcc-4.2+ to build unless
### ${MACHINE_ARCH} == "x86_64".
###
. if empty(PKGSRC_COMPILER:Msunpro) && \
(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