diff options
author | 2018-06-23 22:13:50 +0000 | |
---|---|---|
committer | 2018-06-23 22:13:50 +0000 | |
commit | c8113ccdf70c0623e26b75100768f99346c30b57 (patch) | |
tree | 20802ec3a322e60f0cfa007fd47f31d664d6a919 | |
parent | well, when we read the plist from the ports tree, we need to register (diff) | |
download | wireguard-openbsd-c8113ccdf70c0623e26b75100768f99346c30b57.tar.xz wireguard-openbsd-c8113ccdf70c0623e26b75100768f99346c30b57.zip |
Add -z notext and -z norelro to prevent fatal warnings with ld.lld(1).
ok guenther@
-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 |