Rewrite the ARCH check another way for backward compatibility.

Compilation fails now, if TARGET_ARCH=mips instead of mipsel/mipseb.
This commit is contained in:
Jayachandran C. 2011-01-29 10:32:00 +00:00
parent 7efd41107b
commit 1fb145a629
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=218064

View File

@ -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