Author: emaste
Date: Fri Jul 3 20:32:53 2020
New Revision: 362914
URL: https://svnweb.freebsd.org/changeset/base/362914
Log:
bc: disable -flto on powerpc64
Previously bc segfaulted at start, on powerpc64.
PR: 247738
Submitted by: luporl
Reported by: pkubaj
MFC after: 1 week
Modified:
head/usr.bin/gh-bc/Makefile
Modified: head/usr.bin/gh-bc/Makefile
==============================================================================
--- head/usr.bin/gh-bc/Makefile Fri Jul 3 14:54:46 2020 (r362913)
+++ head/usr.bin/gh-bc/Makefile Fri Jul 3 20:32:53 2020 (r362914)
@@ -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
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"