diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2018-06-23 22:13:51 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2018-06-23 22:13:51 +0000 |
commit | 66397015bd6936fcbfbda31c85b92628bde511e4 (patch) | |
tree | d8da4e09279290991f26f2d98bba54299fafbdeb /sys/arch/armv7 | |
parent | 7a384ecb67c88a6176bd3eb9ac3aa9ace42e393d (diff) |
Add -z notext and -z norelro to prevent fatal warnings with ld.lld(1).
ok guenther@
Diffstat (limited to 'sys/arch/armv7')
-rw-r--r-- | sys/arch/armv7/stand/efiboot/Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/arch/armv7/stand/efiboot/Makefile b/sys/arch/armv7/stand/efiboot/Makefile index 852a5f5fc22..3758b56ea10 100644 --- a/sys/arch/armv7/stand/efiboot/Makefile +++ b/sys/arch/armv7/stand/efiboot/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.10 2018/05/11 11:58:59 kettenis Exp $ +# $OpenBSD: Makefile,v 1.11 2018/06/23 22:13:50 kettenis Exp $ NOMAN= # @@ -17,7 +17,8 @@ EFIDIR= ${S}/stand/efi OBJCOPY?= objcopy OBJDUMP?= objdump -LDFLAGS+=-nostdlib -T ${.CURDIR}/ldscript.arm -Bsymbolic -shared +LDFLAGS+= -nostdlib -T ${.CURDIR}/ldscript.arm -Bsymbolic -shared +LDFLAGS+= -z notext -z norelro .PATH: ${S}/stand/boot SRCS+= boot.c cmd.c vars.c |