summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authorguenther <guenther@openbsd.org>2019-11-12 04:38:27 +0000
committerguenther <guenther@openbsd.org>2019-11-12 04:38:27 +0000
commita7697b137acf5acac115d81f6f8630b5e4e0913d (patch)
tree5be51b9a75b4170d7c0f725fff127ee2da758136 /lib/libc
parentCheck sleep timeout state only if the sleep has a timeout. Otherwise, (diff)
downloadwireguard-openbsd-a7697b137acf5acac115d81f6f8630b5e4e0913d.tar.xz
wireguard-openbsd-a7697b137acf5acac115d81f6f8630b5e4e0913d.zip
Now that libc.so has only five PLT entries on almost all our archs,
link it with -znow ok kettenis@ deraadt@ jca@
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/Makefile b/lib/libc/Makefile
index bd812632e37..4bb4b67fcbb 100644
--- a/lib/libc/Makefile
+++ b/lib/libc/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.41 2019/06/02 01:03:01 guenther Exp $
+# $OpenBSD: Makefile,v 1.42 2019/11/12 04:38:27 guenther Exp $
#
# The YP functions are always in libc. To choose that getpwent() and friends
# actually call the YP functions, put -DYP on the CFLAGS line below.
@@ -16,7 +16,7 @@ LDADD+=-lcompiler_rt
.else
LDADD+=-lgcc
.endif
-LDADD+=-Wl,-zinitfirst
+LDADD+=-Wl,-zinitfirst,-znow
VERSION_SCRIPT= Symbols.map
SYMBOL_LISTS= ${LIBCSRCDIR}/Symbols.list \