Skip to content

Commit

Permalink
Enable --local-caprelocs=elf for Morello
Browse files Browse the repository at this point in the history
  • Loading branch information
bsdjhb committed Jan 8, 2025
1 parent 8a811da commit ee51273
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion share/mk/bsd.cpu.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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*}

Check warning on line 342 in share/mk/bsd.cpu.mk

View workflow job for this annotation

GitHub Actions / Style Checker

Missing Signed-off-by: line
Expand Down

0 comments on commit ee51273

Please sign in to comment.