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
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"

Reply via email to