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:
parent
7efd41107b
commit
1fb145a629
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user