diff options
author | Muhammad Moinur Rahman <bofh@FreeBSD.org> | 2023-07-17 08:39:43 +0000 |
---|---|---|
committer | Muhammad Moinur Rahman <bofh@FreeBSD.org> | 2023-07-17 09:11:46 +0000 |
commit | 4d6feef51008ddcefbbad0a35a172eef374de8a6 (patch) | |
tree | e94a931627727267bea3750156b5e1d6c9909654 | |
parent | 99da75e7dbda4a7905f910f6e99122f6a1b0512a (diff) |
emulators/qemu-cheri: Fix build with llvm16
Approved by: portmgr (blanket)
Sponsored by: The FreeBSD Foundation
-rw-r--r-- | emulators/qemu-cheri/Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
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 \ |