diff --git a/sys/stand/efiboot/Makefile.efiboot b/sys/stand/efiboot/Makefile.efiboot index e5ed8d673fdf..2e6179ccb858 100644 --- a/sys/stand/efiboot/Makefile.efiboot +++ b/sys/stand/efiboot/Makefile.efiboot @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.efiboot,v 1.11 2020/04/01 10:45:44 tnn Exp $ +# $NetBSD: Makefile.efiboot,v 1.12 2020/04/26 06:51:35 rin Exp $ S= ${.CURDIR}/../../.. @@ -47,6 +47,7 @@ BINMODE=444 .PATH: ${.CURDIR} ${.CURDIR}/.. .PATH: ${.CURDIR}/../../lib +LDFLAGS+= --no-dynamic-linker --noinhibit-exec LDFLAGS+= -nostdlib -T${LDSCRIPT} -Bsymbolic -shared CPPFLAGS+= -I$S -I${.CURDIR} -I${.CURDIR}/../common -I$S/lib/libsa CPPFLAGS+= -I${.OBJDIR}