git: 62d25c65977f - stable/13 - usr.bin/gh-bc: fix missing LTO support after MFC
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 19 Jan 2024 08:21:54 UTC
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