Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/i386/stand/efiboot Fix broken flag -nocombreloc, 2....



details:   https://anonhg.NetBSD.org/src/rev/8d3c8d8373ea
branches:  trunk
changeset: 372778:8d3c8d8373ea
user:      christos <christos%NetBSD.org@localhost>
date:      Sun Dec 25 22:14:05 2022 +0000

description:
Fix broken flag -nocombreloc, 2.34 did not complain for not understanding it,
but 2.39 wants -z nocombreloc. Is it really needed?

diffstat:

 sys/arch/i386/stand/efiboot/Makefile.efiboot |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (20 lines):

diff -r c460483ecf81 -r 8d3c8d8373ea sys/arch/i386/stand/efiboot/Makefile.efiboot
--- a/sys/arch/i386/stand/efiboot/Makefile.efiboot      Sun Dec 25 20:23:42 2022 +0000
+++ b/sys/arch/i386/stand/efiboot/Makefile.efiboot      Sun Dec 25 22:14:05 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.efiboot,v 1.19 2021/11/18 16:17:40 manu Exp $
+# $NetBSD: Makefile.efiboot,v 1.20 2022/12/25 22:14:05 christos Exp $
 
 S=             ${.CURDIR}/../../../../..
 
@@ -41,8 +41,8 @@
 .PATH: ${.CURDIR}/../../libsa
 
 LDSCRIPT?= ${.CURDIR}/ldscript
-LDFLAGS+= --no-dynamic-linker --noinhibit-exec
-LDFLAGS+= -nostdlib -T${LDSCRIPT} -Bsymbolic -shared -nocombreloc
+LDFLAGS+= --no-dynamic-linker --noinhibit-exec -z nocombreloc
+LDFLAGS+= -nostdlib -T${LDSCRIPT} -Bsymbolic -shared
 CPPFLAGS+= -I$S -I${.CURDIR} -I${.CURDIR}/.. -I$S/lib/libsa
 CPPFLAGS+= -I${.OBJDIR}
 CPPFLAGS+= -I${.CURDIR}/../../lib



Home | Main Index | Thread Index | Old Index