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
This commit is contained in:
rin 2020-04-26 06:51:35 +00:00
parent 3fd4d3b537
commit e7b4837ce1
1 changed files with 2 additions and 1 deletions

View File

@ -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}