bc: disable -flto on powerpc64
Previously bc segfaulted at start, on powerpc64. PR: 247738 Submitted by: luporl Reported by: pkubaj MFC after: 1 week
This commit is contained in:
parent
c74a3041f0
commit
957a8d7e74
@ -50,7 +50,8 @@ CFLAGS+= -DBC_ENABLE_NLS=0
|
||||
CFLAGS+= -DBC_ENABLE_NLS=1
|
||||
|
||||
# prevent floating point incompatibilities caused by -flto on some architectures
|
||||
.if ${MACHINE_ARCH} != mips && ${MACHINE_ARCH} != mips64 && ${MACHINE_ARCH} != riscv64
|
||||
.if ${MACHINE_ARCH} != mips && ${MACHINE_ARCH} != mips64 && \
|
||||
${MACHINE_ARCH} != powerpc64 && ${MACHINE_ARCH} != riscv64
|
||||
CFLAGS+= -flto
|
||||
.endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user