git: 09d2ead3fb90 - main - devel/mingw32-gcc: Fix build with llvm16
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 24 Jun 2023 10:58:55 UTC
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