Module Name: src
Committed By: uebayasi
Date: Sat Nov 21 13:30:23 UTC 2009
Modified Files:
src/sys/lib/libkern: Makefile.libkern
Log Message:
Don't build quad support code on 64-bit platforms.
To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/sys/lib/libkern/Makefile.libkern
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/lib/libkern/Makefile.libkern
diff -u src/sys/lib/libkern/Makefile.libkern:1.5 src/sys/lib/libkern/Makefile.libkern:1.6
--- src/sys/lib/libkern/Makefile.libkern:1.5 Fri Aug 14 19:23:53 2009
+++ src/sys/lib/libkern/Makefile.libkern Sat Nov 21 13:30:23 2009
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.libkern,v 1.5 2009/08/14 19:23:53 dsl Exp $
+# $NetBSD: Makefile.libkern,v 1.6 2009/11/21 13:30:23 uebayasi Exp $
#
# Variable definitions for libkern.
@@ -42,7 +42,12 @@
.include "$M/Makefile.inc"
.endif
-.if (${MACHINE_ARCH} != "alpha")
+.if (${MACHINE_ARCH} != "alpha") || \
+ (${MACHINE_ARCH} != "x86_64") || \
+ (${MACHINE_ARCH} != "mips64eb") || \
+ (${MACHINE_ARCH} != "mips64el") || \
+ (${MACHINE_ARCH} != "powerpc64") || \
+ (${MACHINE_ARCH} != "sparc64")
# Quad support
SRCS+= adddi3.c anddi3.c ashldi3.c ashrdi3.c cmpdi2.c divdi3.c iordi3.c \
lshldi3.c lshrdi3.c moddi3.c muldi3.c negdi2.c notdi2.c qdivrem.c \