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 using MIPS O32 ABI



details:   https://anonhg.NetBSD.org/src/rev/f2f275aa07c1
branches:  trunk
changeset: 762732:f2f275aa07c1
user:      matt <matt%NetBSD.org@localhost>
date:      Sat Feb 26 16:28:10 2011 +0000

description:
Add quad srcs if using MIPS O32 ABI

diffstat:

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

diffs (20 lines):

diff -r 0f1540cafc46 -r f2f275aa07c1 sys/lib/libkern/Makefile.libkern
--- a/sys/lib/libkern/Makefile.libkern  Sat Feb 26 16:26:58 2011 +0000
+++ b/sys/lib/libkern/Makefile.libkern  Sat Feb 26 16:28:10 2011 +0000
@@ -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")



Home | Main Index | Thread Index | Old Index