Skip to content

Commit 61d36f2

Browse files
committed
Drop unneeded NEED_COMPAT for CHERI csu bits.
These are only built if MACHINE_ARCH is a CHERI arch so are always no-ops that emit warnings from bsd.compat.mk during buildworld.
1 parent de5332b commit 61d36f2

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

lib/csu/mips64c128/Makefile

-3
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,6 @@ CFLAGS+= -DCRT_IRELOC_SUPPRESS
1313
# Purecap code requires crt_init_globals to be called before using jump tables
1414
CFLAGS+= -fno-jump-tables
1515

16-
NEED_COMPAT= CHERI
17-
.include <bsd.compat.mk>
18-
1916
NO_BSD_CRTBEGIN= yes
2017
.PATH: ${.CURDIR}/../common-cheri
2118
CFLAGS+= -I${.CURDIR}/../common \

lib/csu/riscv64c/Makefile

-3
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,6 @@ CFLAGS+= -DCRT_IRELOC_SUPPRESS
1313
# Purecap code requires crt_init_globals to be called before using jump tables
1414
CFLAGS+= -fno-jump-tables
1515

16-
NEED_COMPAT= CHERI
17-
.include <bsd.compat.mk>
18-
1916
NO_BSD_CRTBEGIN= yes
2017
.PATH: ${.CURDIR}/../common-cheri
2118
CFLAGS+= -I${.CURDIR}/../common \

0 commit comments

Comments
 (0)