Module Name:    src
Committed By:   jakllsch
Date:           Sat Feb 26 18:17:55 UTC 2011

Modified Files:
        src/sys/lib/libkern: Makefile.libkern

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


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 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.11 src/sys/lib/libkern/Makefile.libkern:1.12
--- src/sys/lib/libkern/Makefile.libkern:1.11	Sat Feb 26 16:28:10 2011
+++ src/sys/lib/libkern/Makefile.libkern	Sat Feb 26 18:17:55 2011
@@ -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 \

Reply via email to