diff options
author | 2000-01-06 16:53:30 +0000 | |
---|---|---|
committer | 2000-01-06 16:53:30 +0000 | |
commit | 41421cb9c801c392646d8bdf1e4cf184dc8e356c (patch) | |
tree | 710f2f18d2f88cdd605bb7ba92cb56d7d1511440 /lib/libc | |
parent | don't use _C_LABEL. but do use __STRING (diff) | |
download | wireguard-openbsd-41421cb9c801c392646d8bdf1e4cf184dc8e356c.tar.xz wireguard-openbsd-41421cb9c801c392646d8bdf1e4cf184dc8e356c.zip |
for now, disable weak aliases for all archs except i386
Diffstat (limited to 'lib/libc')
-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 3d3558449c4..733ea58ee7b 100644 --- a/lib/libc/sys/Makefile.inc +++ b/lib/libc/sys/Makefile.inc @@ -1,10 +1,15 @@ -# $OpenBSD: Makefile.inc,v 1.31 1999/12/14 03:41:16 millert Exp $ +# $OpenBSD: Makefile.inc,v 1.32 2000/01/06 16:53:30 d 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 i386 has usable weak aliases +.if ${MACHINE_ARCH} != "i386" +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 \ sbrk.S sigpending.S sigprocmask.S sigreturn.S \ |