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:
parent
0fb6d589e1
commit
45e2c46b37
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user