which will prompt making that the default. That means efiboot, which
build in a different way, must disable the link option.
ok kettenis
-# $OpenBSD: Makefile,v 1.18 2022/12/30 06:44:35 jca Exp $
+# $OpenBSD: Makefile,v 1.19 2023/01/04 13:01:46 deraadt Exp $
NOMAN= #
OBJDUMP?= objdump
LDFLAGS+=-nostdlib -T ${.CURDIR}/ldscript.arm64 -Bsymbolic -shared
-LDFLAGS+=--pack-dyn-relocs=none
+LDFLAGS+=--pack-dyn-relocs=none --no-execute-only
.PATH: ${S}/stand/boot
SRCS+= boot.c cmd.c vars.c
-# $OpenBSD: Makefile,v 1.3 2022/12/30 06:44:35 jca Exp $
+# $OpenBSD: Makefile,v 1.4 2023/01/04 13:01:47 deraadt Exp $
NOMAN= #
OBJDUMP?= objdump
LDFLAGS+=-nostdlib -T ${.CURDIR}/ldscript.riscv64 -Bsymbolic -shared
-LDFLAGS+=--pack-dyn-relocs=none
+LDFLAGS+=--pack-dyn-relocs=none --no-execute-only
.PATH: ${S}/stand/boot
SRCS+= boot.c cmd.c vars.c