Switch sparc64 to using libcompiler_rt; since r230021 we have a workaround

in place allowing it to be used there and since r235388 (see also r235486)
we also have usable div/mod optimizations like libgcc has.
This commit is contained in:
Marius Strobl 2012-05-15 22:47:34 +00:00
parent 0fb6d589e1
commit 45e2c46b37
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -176,7 +176,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