From e7b4837ce17f6f83150e5e87f75fed2dd1c5856f Mon Sep 17 00:00:00 2001 From: rin Date: Sun, 26 Apr 2020 06:51:35 +0000 Subject: [PATCH] Adjust for binutils 2.34 in the same manner as efiboot/x86: http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/arch/i386/stand/efiboot/Makefile.efiboot#rev1.17 --- sys/stand/efiboot/Makefile.efiboot | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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}