diff options
Diffstat (limited to 'sys/arch/amd64/stand/cdboot/Makefile')
-rw-r--r-- | sys/arch/amd64/stand/cdboot/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/amd64/stand/cdboot/Makefile b/sys/arch/amd64/stand/cdboot/Makefile index 8579597e138..e16154f83fb 100644 --- a/sys/arch/amd64/stand/cdboot/Makefile +++ b/sys/arch/amd64/stand/cdboot/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.43 2021/07/08 20:04:57 deraadt Exp $ +# $OpenBSD: Makefile,v 1.44 2023/04/17 00:05:35 deraadt Exp $ MAN= cdboot.8 @@ -10,6 +10,7 @@ PROG= cdboot SRCS= srt0.S boot.c conf.c LD?= ld SIZE?= size +AFLAGS+=-Dendbr64= LDFLAGS+=-nostdlib -Bstatic -Ttext $(LINKADDR) -N -x -nopie -znorelro LDFLAGS+=-melf_i386 -L/usr/libdata INSTALL_STRIP= |