Source-Changes-HG archive

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

[src/trunk]: src/sys/lib/libkern Add quad srcs if building x86_64 32-bit libk...



details:   https://anonhg.NetBSD.org/src/rev/c9a6e14c985a
branches:  trunk
changeset: 762735:c9a6e14c985a
user:      jakllsch <jakllsch%NetBSD.org@localhost>
date:      Sat Feb 26 18:17:55 2011 +0000

description:
Add quad srcs if building x86_64 32-bit libkern.

diffstat:

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

diffs (18 lines):

diff -r f4dce1486119 -r c9a6e14c985a sys/lib/libkern/Makefile.libkern
--- a/sys/lib/libkern/Makefile.libkern  Sat Feb 26 18:07:13 2011 +0000
+++ b/sys/lib/libkern/Makefile.libkern  Sat Feb 26 18:17:55 2011 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.libkern,v 1.11 2011/02/26 16:28:10 matt Exp $
+#      $NetBSD: Makefile.libkern,v 1.12 2011/02/26 18:17:55 jakllsch Exp $
 
 # 
 # Variable definitions for libkern.  
@@ -47,7 +47,7 @@
     (${MACHINE_ARCH} != "mips64el" || !empty(CFLAGS:M-mabi=32)) && \
     (${MACHINE_ARCH} != "powerpc64") && \
     (${MACHINE_ARCH} != "sparc64") && \
-    (${MACHINE_ARCH} != "x86_64")
+    (${MACHINE_ARCH} != "x86_64" || !empty(CFLAGS:M-m32))
 # 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