Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Feb 2023 23:50:10 GMT
From:      Piotr Kubaj <pkubaj@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 6ae90f59851c - main - gh-bc: don't disable LTO on powerpc64
Message-ID:  <202302242350.31ONoAP3082564@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by pkubaj:

URL: https://cgit.FreeBSD.org/src/commit/?id=6ae90f59851cd574b1edfba0a2a67f436001c120

commit 6ae90f59851cd574b1edfba0a2a67f436001c120
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2023-02-24 13:26:31 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2023-02-24 23:49:27 +0000

    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 154155085479..223440f2f54d 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
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202302242350.31ONoAP3082564>