summaryrefslogtreecommitdiffstats
path: root/gnu/lib
diff options
context:
space:
mode:
authorjchandra <jchandra@FreeBSD.org>2011-01-29 10:32:00 +0000
committerjchandra <jchandra@FreeBSD.org>2011-01-29 10:32:00 +0000
commitcc338a54f711e91735e9c9640940ef576495186c (patch)
treee779a0891c985c2132bed870f6e5a9d6d98b35de /gnu/lib
parentd0ef1d0ef89bde2e3837af8debd78d0dfc10e54a (diff)
downloadFreeBSD-src-cc338a54f711e91735e9c9640940ef576495186c.zip
FreeBSD-src-cc338a54f711e91735e9c9640940ef576495186c.tar.gz
Rewrite the ARCH check another way for backward compatibility.
Compilation fails now, if TARGET_ARCH=mips instead of mipsel/mipseb.
Diffstat (limited to 'gnu/lib')
-rw-r--r--gnu/lib/libgcc/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/gnu/lib/libgcc/Makefile b/gnu/lib/libgcc/Makefile
index 7f6fc0d..34252b4 100644
--- a/gnu/lib/libgcc/Makefile
+++ b/gnu/lib/libgcc/Makefile
@@ -122,7 +122,8 @@ LIB2FUNCS_EXTRA = floatunsidf.c floatunsisf.c
.if ${TARGET_CPUARCH} == mips
LIB2FUNCS_EXTRA = floatunsidf.c floatunsisf.c
# ABIs other than o32 need this
-.if ${TARGET_ARCH:Mmipse[lb]} == ""
+.if ${TARGET_ARCH:Mmips64*} != "" || \
+ ${TARGET_ARCH:Mmipsn32*} != ""
LIB2FUNCS_EXTRA+= floatdidf.c fixunsdfsi.c
LIB2FUNCS_EXTRA+= floatdisf.c floatundidf.c
LIB2FUNCS_EXTRA+= fixsfdi.c floatundisf.c
OpenPOWER on IntegriCloud