diff options
| author | matt <matt@NetBSD.org> | 2011-02-26 16:28:10 +0000 |
|---|---|---|
| committer | matt <matt@NetBSD.org> | 2011-02-26 16:28:10 +0000 |
| commit | 9b024ec46f79bc14ca855802453476a135182645 (patch) | |
| tree | a9f974c3c2194380c9eee9320b7f69417702168a /sys/lib/libkern | |
| parent | 43f6e0a6384eb4aae7ead218fd703ca2bdd3273f (diff) | |
Add quad srcs if using MIPS O32 ABI
Diffstat (limited to 'sys/lib/libkern')
| -rw-r--r-- | sys/lib/libkern/Makefile.libkern | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/lib/libkern/Makefile.libkern b/sys/lib/libkern/Makefile.libkern index a13bd169f86..4021c144b0f 100644 --- a/sys/lib/libkern/Makefile.libkern +++ b/sys/lib/libkern/Makefile.libkern @@ -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 @@ CPPFLAGS+= -I${KERNDIR}/../../../common/include .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") |
