Date: Fri, 19 Jan 2024 08:21:54 GMT From: Stefan =?utf-8?Q?E=C3=9Fer?= <se@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org Subject: git: 62d25c65977f - stable/13 - usr.bin/gh-bc: fix missing LTO support after MFC Message-ID: <202401190821.40J8LsaT002031@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by se: URL: https://cgit.FreeBSD.org/src/commit/?id=62d25c65977f5bea6553650f2acc0d15f8e13368 commit 62d25c65977f5bea6553650f2acc0d15f8e13368 Author: Stefan Eßer <se@FreeBSD.org> AuthorDate: 2024-01-19 08:19:38 +0000 Commit: Stefan Eßer <se@FreeBSD.org> CommitDate: 2024-01-19 08:19:38 +0000 usr.bin/gh-bc: fix missing LTO support after MFC Restore exclusion of powerpc64 and mips* from LTO, which has been lost by the MFC of the fix for the WITHOUT_NLS_CATALOGS case. --- usr.bin/gh-bc/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/usr.bin/gh-bc/Makefile b/usr.bin/gh-bc/Makefile index e78ab4b2994b..c058b54d93f9 100644 --- a/usr.bin/gh-bc/Makefile +++ b/usr.bin/gh-bc/Makefile @@ -61,7 +61,8 @@ CFLAGS+= -DNLSPATH=/usr/share/nls/%L/%N.cat CFLAGS+= -I${BCDIR}/include # prevent floating point incompatibilities caused by -flto on some architectures -.if ${MACHINE_ARCH} != riscv64 +.if ${MACHINE_ARCH:Mmips*} == "" && ${MACHINE_ARCH} != powerpc64 && \ + ${MACHINE_ARCH} != riscv64 CFLAGS+= -flto .endif
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202401190821.40J8LsaT002031>