From cc338a54f711e91735e9c9640940ef576495186c Mon Sep 17 00:00:00 2001 From: jchandra Date: Sat, 29 Jan 2011 10:32:00 +0000 Subject: Rewrite the ARCH check another way for backward compatibility. Compilation fails now, if TARGET_ARCH=mips instead of mipsel/mipseb. --- gnu/lib/libgcc/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'gnu/lib/libgcc') 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 -- cgit v1.1