From 4ec8089d98c0977b629fd74169d4bb4f9060e006 Mon Sep 17 00:00:00 2001 From: marius Date: Fri, 25 May 2012 17:20:00 +0000 Subject: [PATCH] MFC: r235487 Switch sparc64 to using libcompiler_rt; since r230021 (MFC'ed to stable/9 in r236012) we have a workaround in place allowing it to be used there and since r235388 (MFC'ed to stable/9 in r236002) we also have usable div/mod optimizations like libgcc has. git-svn-id: svn://svn.freebsd.org/base/stable/9@236014 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f --- 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 7f6fc0d8f..a37427fbb 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" || ${TARGET_CPUARCH} == "mips" +.if ${TARGET_CPUARCH} == "mips" LIB= gcc .endif diff --git a/lib/libcompiler_rt/Makefile b/lib/libcompiler_rt/Makefile index 3a501f577..2127a55fd 100644 --- a/lib/libcompiler_rt/Makefile +++ b/lib/libcompiler_rt/Makefile @@ -152,7 +152,7 @@ SRCS+= ${file}.c . endif .endfor -.if ${MACHINE_CPUARCH} != "sparc64" && ${MACHINE_CPUARCH} != "mips" +.if ${MACHINE_CPUARCH} != "mips" . if ${MK_INSTALLLIB} != "no" SYMLINKS+=libcompiler_rt.a ${LIBDIR}/libgcc.a . endif -- 2.45.0