summaryrefslogtreecommitdiffstats
path: root/lib/libc/sys
diff options
context:
space:
mode:
authormarc <marc@openbsd.org>2002-11-03 20:36:43 +0000
committermarc <marc@openbsd.org>2002-11-03 20:36:43 +0000
commit7d696152b04eda612deebda7dd931656647baf68 (patch)
treec8d6614acef79d09c5a8c85d3b59a6535a731ded /lib/libc/sys
parentYou can't always cast pointer to int on because the sizes are (diff)
downloadwireguard-openbsd-7d696152b04eda612deebda7dd931656647baf68.tar.xz
wireguard-openbsd-7d696152b04eda612deebda7dd931656647baf68.zip
libc changes for thread safety. Tested on:
alpha (millert@), i386 (marc@), m68k (millert@ and miod@), powerpc (drahn@ and dhartmei@), sparc (millert@ and marc@), sparc64 (marc@), and vax (millert@ and miod@). Thanks to millert@, miod@, and mickey@ for fixes along the way.
Diffstat (limited to 'lib/libc/sys')
-rw-r--r--lib/libc/sys/Makefile.inc7
1 files changed, 1 insertions, 6 deletions
diff --git a/lib/libc/sys/Makefile.inc b/lib/libc/sys/Makefile.inc
index 7ae2a594698..521ef835360 100644
--- a/lib/libc/sys/Makefile.inc
+++ b/lib/libc/sys/Makefile.inc
@@ -1,15 +1,10 @@
-# $OpenBSD: Makefile.inc,v 1.57 2002/10/30 20:15:29 millert Exp $
+# $OpenBSD: Makefile.inc,v 1.58 2002/11/03 20:36:43 marc Exp $
# $NetBSD: Makefile.inc,v 1.35 1995/10/16 23:49:07 jtc Exp $
# @(#)Makefile.inc 8.1 (Berkeley) 6/17/93
# sys sources
.PATH: ${LIBCSRCDIR}/arch/${MACHINE_ARCH}/sys ${LIBCSRCDIR}/sys
-# for now, only arch's below have weak aliases enabled
-.if ${MACHINE_ARCH} != "i386" && ${ELF_TOOLCHAIN} != "yes"
-CFLAGS+= -D_NO_WEAK_ALIASES
-.endif
-
# modules with non-default implementations on at least one architecture:
SRCS+= Ovfork.S brk.S cerror.S exect.S fork.S rfork.S \
sbrk.S sigpending.S sigprocmask.S sigreturn.S \