Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/lib/libkern Don't build quad support code on 64-bit plat...



details:   https://anonhg.NetBSD.org/src/rev/6365adc02917
branches:  trunk
changeset: 749207:6365adc02917
user:      uebayasi <uebayasi%NetBSD.org@localhost>
date:      Sat Nov 21 13:30:23 2009 +0000

description:
Don't build quad support code on 64-bit platforms.

diffstat:

 sys/lib/libkern/Makefile.libkern |  9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

diffs (23 lines):

diff -r 28a18ef15a38 -r 6365adc02917 sys/lib/libkern/Makefile.libkern
--- a/sys/lib/libkern/Makefile.libkern  Sat Nov 21 13:19:04 2009 +0000
+++ b/sys/lib/libkern/Makefile.libkern  Sat Nov 21 13:30:23 2009 +0000
@@ -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 \



Home | Main Index | Thread Index | Old Index