0a8a876a15
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@
16 lines
524 B
Makefile
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
|