From d933fa1a108fde21d3dc9bdb804e13cd6d34b3c0 Mon Sep 17 00:00:00 2001 From: Alexander Kabaev Date: Wed, 29 Dec 2010 17:12:05 +0000 Subject: [PATCH] Switch mips architectures back to libgcc. MIPS64 n64 binaries are broken with libcompiler_rt at this time. Switch mips back to libgcc until the cause of breakage is analyzed and fixed. --- gnu/lib/libgcc/Makefile | 2 +- lib/libcompiler_rt/Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/lib/libgcc/Makefile b/gnu/lib/libgcc/Makefile index 475240029648..4a9d12fcf719 100644 --- a/gnu/lib/libgcc/Makefile +++ b/gnu/lib/libgcc/Makefile @@ -15,7 +15,7 @@ MK_SSP= no .include "${.CURDIR}/../../usr.bin/cc/Makefile.tgt" -.if ${TARGET_CPUARCH} == "sparc64" +.if ${TARGET_CPUARCH} == "sparc64" || ${TARGET_CPUARCH} == "mips" LIB= gcc .endif diff --git a/lib/libcompiler_rt/Makefile b/lib/libcompiler_rt/Makefile index 103bb8ca504d..f27dcf545c8e 100644 --- a/lib/libcompiler_rt/Makefile +++ b/lib/libcompiler_rt/Makefile @@ -147,7 +147,7 @@ SRCS+= ${file}.c . endif .endfor -.if ${MACHINE_CPUARCH} != "sparc64" +.if ${MACHINE_CPUARCH} != "sparc64" && ${MACHINE_CPUARCH} != "mips" . if ${MK_INSTALLLIB} != "no" SYMLINKS+=libcompiler_rt.a ${LIBDIR}/libgcc.a . endif