This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[committed] Fix mips64-linux-gnu and mipsisa32-linux-gnu builds


mips64-linux-gnu and mipsisa32-linux-gnu failed to build because
UCLIBC_DEFAULT was undefined.  Fixed with obvious patch below.
Tested on mips64-linux-gnu and applied to trunk.

Richard


	* config.gcc (mips64*-*-linux*): Keep existing tm_defines.
	(mips*-*-linux*): Likewise.

Index: gcc/config.gcc
===================================================================
--- gcc/config.gcc	(revision 111958)
+++ gcc/config.gcc	(working copy)
@@ -1501,7 +1501,7 @@ mips*-*-netbsd*)			# NetBSD/mips, either
 mips64*-*-linux*)
 	tm_file="dbxelf.h elfos.h svr4.h linux.h ${tm_file} mips/linux.h mips/linux64.h"
 	tmake_file="${tmake_file} mips/t-linux64"
-	tm_defines="MIPS_ABI_DEFAULT=ABI_N32"
+	tm_defines="${tm_defines} MIPS_ABI_DEFAULT=ABI_N32"
 	gnu_ld=yes
 	gas=yes
 	;;
@@ -1510,7 +1510,7 @@ mips*-*-linux*)				# Linux MIPS, either 
 	case ${target} in
         mipsisa32*-*)
                 target_cpu_default="MASK_SOFT_FLOAT"
-		tm_defines="MIPS_ISA_DEFAULT=32"
+		tm_defines="${tm_defines} MIPS_ISA_DEFAULT=32"
                 ;;
         esac
 	;;


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]