From 6ae90f59851cd574b1edfba0a2a67f436001c120 Mon Sep 17 00:00:00 2001 From: Piotr Kubaj Date: Fri, 24 Feb 2023 14:26:31 +0100 Subject: [PATCH] gh-bc: don't disable LTO on powerpc64 Summary: The LTO issue has been fixed. While -flto for some reason is commented out, since it wasn't completely removed, it may be expected to be reenabled. Reviewers: se Approved by: se MFC after: 3 days Subscribers: imp Differential Revision: https://reviews.freebsd.org/D38755 --- usr.bin/gh-bc/Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/usr.bin/gh-bc/Makefile b/usr.bin/gh-bc/Makefile index 15415508547..223440f2f54 100644 --- a/usr.bin/gh-bc/Makefile +++ b/usr.bin/gh-bc/Makefile @@ -71,8 +71,7 @@ MAN_SRC_BC= bc/A.1 MAN_SRC_DC= dc/A.1 # prevent floating point incompatibilities caused by -flto on some architectures -.if ${MACHINE_ARCH:Mmips*} == "" && ${MACHINE_ARCH} != powerpc64 && \ - ${MACHINE_ARCH} != riscv64 +.if ${MACHINE_ARCH:Mmips*} == "" && ${MACHINE_ARCH} != riscv64 CFLAGS+= -flto .endif