blob: 32b6c052b96b0a26341f9b6e83680235feac341b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
# $NetBSD: hacks.mk,v 1.2 2008/09/06 20:09:15 bjs 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-9].[2-9]*))
CONFIGURE_ARGS+= --disable-sse2
. endif
.endif
|