diff options
author | 2002-11-03 23:58:38 +0000 | |
---|---|---|
committer | 2002-11-03 23:58:38 +0000 | |
commit | 7a602fd2b428bfeb32b5d1f6fed10c2aa08f9b33 (patch) | |
tree | 29843764569cf29b08f13e195f7b0249a98aec7b /lib/libc/sys | |
parent | libc changes for thread safety. Tested on: (diff) | |
download | wireguard-openbsd-7a602fd2b428bfeb32b5d1f6fed10c2aa08f9b33.tar.xz wireguard-openbsd-7a602fd2b428bfeb32b5d1f6fed10c2aa08f9b33.zip |
back out previous patch.. there are still some vax/m68k issues
Diffstat (limited to 'lib/libc/sys')
-rw-r--r-- | lib/libc/sys/Makefile.inc | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/libc/sys/Makefile.inc b/lib/libc/sys/Makefile.inc index 521ef835360..10e43db90e7 100644 --- a/lib/libc/sys/Makefile.inc +++ b/lib/libc/sys/Makefile.inc @@ -1,10 +1,15 @@ -# $OpenBSD: Makefile.inc,v 1.58 2002/11/03 20:36:43 marc Exp $ +# $OpenBSD: Makefile.inc,v 1.59 2002/11/03 23:58:39 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 \ |