Module Name:    src
Committed By:   matt
Date:           Sat Feb 26 16:28:10 UTC 2011

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

Log Message:
Add quad srcs if using MIPS O32 ABI


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 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.10 src/sys/lib/libkern/Makefile.libkern:1.11
--- src/sys/lib/libkern/Makefile.libkern:1.10	Tue May 11 21:50:35 2010
+++ src/sys/lib/libkern/Makefile.libkern	Sat Feb 26 16:28:10 2011
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile.libkern,v 1.10 2010/05/11 21:50:35 pooka Exp $
+#	$NetBSD: Makefile.libkern,v 1.11 2011/02/26 16:28:10 matt Exp $
 
 # 
 # Variable definitions for libkern.  
@@ -43,8 +43,8 @@
 .endif
 
 .if (${MACHINE_ARCH} != "alpha") && \
-    (${MACHINE_ARCH} != "mips64eb") && \
-    (${MACHINE_ARCH} != "mips64el") && \
+    (${MACHINE_ARCH} != "mips64eb" || !empty(CFLAGS:M-mabi=32)) && \
+    (${MACHINE_ARCH} != "mips64el" || !empty(CFLAGS:M-mabi=32)) && \
     (${MACHINE_ARCH} != "powerpc64") && \
     (${MACHINE_ARCH} != "sparc64") && \
     (${MACHINE_ARCH} != "x86_64")

Reply via email to