diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2021-09-28 08:51:19 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2021-09-28 08:51:19 +0000 |
commit | 731ad4ba1854025bb7f9b0aaf5772564141378cd (patch) | |
tree | 3eaf478817cbff39f791d81f4db79dff1e885969 /regress/sys | |
parent | 5736d122bd6225e174be4af4aaa529b2edf608a3 (diff) |
Use -Wl,-z,wxneeded instead of -z wxneeded such that this builds with base
gcc.
ok patrick@, millert@, jca@
Diffstat (limited to 'regress/sys')
-rw-r--r-- | regress/sys/uvm/wx_syscall/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/regress/sys/uvm/wx_syscall/Makefile b/regress/sys/uvm/wx_syscall/Makefile index 4c629ecf738..196bdf53e1c 100644 --- a/regress/sys/uvm/wx_syscall/Makefile +++ b/regress/sys/uvm/wx_syscall/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.2 2019/09/20 12:45:43 bluhm Exp $ +# $OpenBSD: Makefile,v 1.3 2021/09/28 08:51:17 kettenis Exp $ # The regression test binary must be run on a wxallowed filesystem # to verify correct behaviour (it should crash) @@ -17,7 +17,7 @@ regress: .endif PROG= wx_syscall -LDFLAGS= -z wxneeded +LDFLAGS= -Wl,-z,wxneeded run-regress-wx_syscall: wx_syscall ! ./wx_syscall |