Date: Sat, 29 Jan 2011 10:32:00 +0000 (UTC) From: "Jayachandran C." <jchandra@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r218064 - head/gnu/lib/libgcc Message-ID: <201101291032.p0TAW0hw027126@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jchandra Date: Sat Jan 29 10:32:00 2011 New Revision: 218064 URL: http://svn.freebsd.org/changeset/base/218064 Log: Rewrite the ARCH check another way for backward compatibility. Compilation fails now, if TARGET_ARCH=mips instead of mipsel/mipseb. Modified: head/gnu/lib/libgcc/Makefile Modified: head/gnu/lib/libgcc/Makefile ============================================================================== --- head/gnu/lib/libgcc/Makefile Sat Jan 29 09:42:31 2011 (r218063) +++ head/gnu/lib/libgcc/Makefile Sat Jan 29 10:32:00 2011 (r218064) @@ -122,7 +122,8 @@ LIB2FUNCS_EXTRA = floatunsidf.c floatuns .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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201101291032.p0TAW0hw027126>