Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 Jun 2023 10:58:55 GMT
From:      Muhammad Moinur Rahman <bofh@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 09d2ead3fb90 - main - devel/mingw32-gcc: Fix build with llvm16
Message-ID:  <202306241058.35OAwt6w099347@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by bofh:

URL: https://cgit.FreeBSD.org/ports/commit/?id=09d2ead3fb90231d40469033e0a355e6b6e18b8d

commit 09d2ead3fb90231d40469033e0a355e6b6e18b8d
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-06-24 10:16:15 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-06-24 10:58:47 +0000

    devel/mingw32-gcc: Fix build with llvm16
    
    Sponsored by:   The FreeBSD Foundation
---
 devel/mingw32-gcc/Makefile | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/devel/mingw32-gcc/Makefile b/devel/mingw32-gcc/Makefile
index f6fd56846d94..d3e9a83b0dc9 100644
--- a/devel/mingw32-gcc/Makefile
+++ b/devel/mingw32-gcc/Makefile
@@ -83,6 +83,11 @@ INFO+=		libquadmath
 .endif
 INSTALL_TARGET=	install-strip
 
+.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
+CPPFLAGS+=  -Wno-error=increment-bool \
+			-Dregister=
+.endif
+
 post-patch:
 	${REINPLACE_CMD} -e "s,# include <sys/sysctl.h>,," \
 		${SRCDIR}/libiberty/physmem.c


home | help

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