Disable assembler support on x86_64 systems because it breaks the build

of a shared version of the library.
This commit is contained in:
tron 2008-12-20 11:57:29 +00:00
parent 84bcef407c
commit 0684bfe706

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.14 2008/12/18 16:19:07 bjs Exp $ # $NetBSD: Makefile,v 1.15 2008/12/20 11:57:29 tron Exp $
SNAPSHOT_DATE= 20081217 SNAPSHOT_DATE= 20081217
@ -20,9 +20,10 @@ PKG_DESTDIR_SUPPORT= user-destdir
CFLAGS+= -DHAVE_STDLIB_H CFLAGS+= -DHAVE_STDLIB_H
.endif .endif
.if ${MACHINE_ARCH} == "i386"
.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64"
BUILD_DEPENDS+= yasm>=0.4.0:../../devel/yasm BUILD_DEPENDS+= yasm>=0.4.0:../../devel/yasm
.elif ${MACHINE_ARCH} == "x86_64"
CONFIGURE_ARGS+= --disable-asm
.endif .endif
USE_TOOLS+= gmake USE_TOOLS+= gmake