git: 4d6feef51008 - main - emulators/qemu-cheri: Fix build with llvm16
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 17 Jul 2023 09:12:00 UTC
The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=4d6feef51008ddcefbbad0a35a172eef374de8a6 commit 4d6feef51008ddcefbbad0a35a172eef374de8a6 Author: Muhammad Moinur Rahman <bofh@FreeBSD.org> AuthorDate: 2023-07-17 08:39:43 +0000 Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org> CommitDate: 2023-07-17 09:11:46 +0000 emulators/qemu-cheri: Fix build with llvm16 Approved by: portmgr (blanket) Sponsored by: The FreeBSD Foundation --- emulators/qemu-cheri/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/emulators/qemu-cheri/Makefile b/emulators/qemu-cheri/Makefile index 5d533c6349ed..4d39b694a166 100644 --- a/emulators/qemu-cheri/Makefile +++ b/emulators/qemu-cheri/Makefile @@ -62,6 +62,12 @@ EXTRA_CFLAGS= -DCHERI_UNALIGNED PLIST_FILES= bin/qemu-system-morello \ bin/qemu-system-riscv64cheri +.include <bsd.port.options.mk> + +.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +CFLAGS+= -Wno-error=int-conversion +.endif + do-install: ${INSTALL_PROGRAM} ${WRKSRC}/build/qemu-system-morello \ ${WRKSRC}/build/qemu-system-riscv64cheri \