Skip -flto for all MIPS ports
There likely should be a macro for the ports that support lto, but I'm making sure that all the mips things build before decommissioning it and this is the only thing that's broken... Sponsored by: Netflix
This commit is contained in:
parent
bf410c6eda
commit
d677d4be0c
@ -62,8 +62,8 @@ MAN_SRC_BC= bc/A.1
|
|||||||
MAN_SRC_DC= dc/A.1
|
MAN_SRC_DC= dc/A.1
|
||||||
|
|
||||||
# prevent floating point incompatibilities caused by -flto on some architectures
|
# prevent floating point incompatibilities caused by -flto on some architectures
|
||||||
.if ${MACHINE_ARCH} != mips && ${MACHINE_ARCH} != mips64 && \
|
.if ${MACHINE_ARCH:Mmips*} == "" && ${MACHINE_ARCH} != powerpc64 && \
|
||||||
${MACHINE_ARCH} != powerpc64 && ${MACHINE_ARCH} != riscv64
|
${MACHINE_ARCH} != riscv64
|
||||||
CFLAGS+= -flto
|
CFLAGS+= -flto
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user