From 9bb66edce2207b7ae3380760af0725628e45292c Mon Sep 17 00:00:00 2001 From: John Baldwin Date: Wed, 8 Jan 2025 09:17:10 -0500 Subject: [PATCH] Enable --local-caprelocs=elf for Morello --- share/mk/bsd.cpu.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/share/mk/bsd.cpu.mk b/share/mk/bsd.cpu.mk index 14ebe7581231..c7f410a33820 100644 --- a/share/mk/bsd.cpu.mk +++ b/share/mk/bsd.cpu.mk @@ -336,7 +336,7 @@ MACHINE_CPU += riscv . if ${MACHINE_CPU:Mcheri} CFLAGS+= -march=morello CFLAGS+= -Xclang -morello-vararg=new -Xclang -morello-bounded-memargs -LDFLAGS+= -march=morello +LDFLAGS+= -march=morello -Wl,--local-caprelocs=elf . endif . if ${MACHINE_ARCH:Maarch64*cb*}