This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[committed] Fix mips64-linux-gnu and mipsisa32-linux-gnu builds
- From: Richard Sandiford <richard at codesourcery dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Thu, 16 Mar 2006 20:22:45 +0000
- Subject: [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
;;