Skip to content

Commit

Permalink
cheribsdtest: Use elfctl to enable c18n
Browse files Browse the repository at this point in the history
  • Loading branch information
dpgao committed Mar 21, 2024
1 parent 7b256e5 commit db927d9
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions bin/cheribsdtest/Makefile.cheribsdtest
Original file line number Diff line number Diff line change
Expand Up @@ -90,11 +90,7 @@ SRCS+= cheribsdtest_tls_threads.c

.ifdef CHERIBSD_C18N_TESTS
CFLAGS+= -DCHERIBSD_C18N_TESTS
.if ${MACHINE_ABI:Mbenchmark}
LDFLAGS+= -Wl,--dynamic-linker=/libexec/ld-elf64cb-c18n.so.1
.else
LDFLAGS+= -Wl,--dynamic-linker=/libexec/ld-elf-c18n.so.1
.endif
ELF_FEATURES+= +cheric18n
.endif

.include <bsd.prog.mk>

0 comments on commit db927d9

Please sign in to comment.