Fails on current as well, so don't try to use asm there.

Someone who groks linker issues should try to make the asm code
position independent. Until then I suspect we will end up using
--disable-asm everywhere.
This commit is contained in:
tnn 2011-01-19 00:16:38 +00:00
parent ceaceedca7
commit 8640aad169

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.29 2011/01/17 23:13:46 tron Exp $
# $NetBSD: Makefile,v 1.30 2011/01/19 00:16:38 tnn Exp $
SNAPSHOT_DATE= 20110101
@ -25,16 +25,14 @@ CFLAGS+= -DHAVE_STDLIB_H
# "libtool" to create shared libraries. We therefore need to switch
# them off even if the C versions are slower.
.if ${MACHINE_ARCH} == "i386"
. if ${OPSYS} == "SunOS" || (${OPSYS} == "NetBSD" && \
(!empty(OS_VERSION:M[1-5].*) && empty(OS_VERSION:M5.99.*))) || \
. if ${OPSYS} == "SunOS" || ${OPSYS} == "NetBSD" ||
${OPSYS} == "Darwin"
CONFIGURE_ARGS+= --disable-asm
. else
BUILD_DEPENDS+= yasm>=0.4.0:../../devel/yasm
. endif
.elif ${MACHINE_ARCH} == "x86_64"
. if ${OPSYS} == "SunOS" || (${OPSYS} == "NetBSD" && \
(!empty(OS_VERSION:M[1-5].*) && empty(OS_VERSION:M5.99.*))) || \
. if ${OPSYS} == "SunOS" || ${OPSYS} == "NetBSD" ||
${OPSYS} == "Darwin"
CONFIGURE_ARGS+= --disable-asm
. else