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
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=362914
@ -50,7 +50,8 @@ CFLAGS+= -DBC_ENABLE_NLS=0
|
|||||||
CFLAGS+= -DBC_ENABLE_NLS=1
|
CFLAGS+= -DBC_ENABLE_NLS=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 && ${MACHINE_ARCH} != riscv64
|
.if ${MACHINE_ARCH} != mips && ${MACHINE_ARCH} != mips64 && \
|
||||||
|
${MACHINE_ARCH} != powerpc64 && ${MACHINE_ARCH} != riscv64
|
||||||
CFLAGS+= -flto
|
CFLAGS+= -flto
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user