Add a comment why we need to disable assembler support on so many platforms.

This commit is contained in:
tron 2011-01-17 23:13:46 +00:00
parent 1e4f61fa42
commit 628e12c907

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.28 2011/01/17 22:06:37 tron Exp $
# $NetBSD: Makefile,v 1.29 2011/01/17 23:13:46 tron Exp $
SNAPSHOT_DATE= 20110101
@ -20,6 +20,10 @@ PKG_DESTDIR_SUPPORT= user-destdir
CFLAGS+= -DHAVE_STDLIB_H
.endif
# The assembler implementations don't use position independent code
# and therefore break the builds on a lot of platforms because we use
# "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.*))) || \