Use -Wl,-z,wxneeded instead of -z wxneeded such that this builds with base
authorkettenis <kettenis@openbsd.org>
Tue, 28 Sep 2021 08:51:17 +0000 (08:51 +0000)
committerkettenis <kettenis@openbsd.org>
Tue, 28 Sep 2021 08:51:17 +0000 (08:51 +0000)
commitbf27995b5709fe3c496157249610d5207acd6484
treefa54b7e6012f6d4bb269e6f52cbe01561e8d6b8c
parent841b1ecd64316135a875dc8c26c359f4995ef194
Use -Wl,-z,wxneeded instead of -z wxneeded such that this builds with base
gcc.

ok patrick@, millert@, jca@
regress/sys/uvm/wx_syscall/Makefile
regress/usr.bin/lastcomm/Makefile