summaryrefslogtreecommitdiffstats
path: root/lib/libc/sys
diff options
context:
space:
mode:
authordrahn <drahn@openbsd.org>2002-06-08 20:55:31 +0000
committerdrahn <drahn@openbsd.org>2002-06-08 20:55:31 +0000
commitff3ccc0611672cce97cd6a097de23d0190d8d388 (patch)
tree8afc90b8caea01fe4115319bfa3625afb30c8c8b /lib/libc/sys
parentsync (diff)
downloadwireguard-openbsd-ff3ccc0611672cce97cd6a097de23d0190d8d388.tar.xz
wireguard-openbsd-ff3ccc0611672cce97cd6a097de23d0190d8d388.zip
ELF architectures all support weak aliases, enable them for this part.
ok fgsch@
Diffstat (limited to 'lib/libc/sys')
-rw-r--r--lib/libc/sys/Makefile.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/sys/Makefile.inc b/lib/libc/sys/Makefile.inc
index 365a30a28b1..673d206a704 100644
--- a/lib/libc/sys/Makefile.inc
+++ b/lib/libc/sys/Makefile.inc
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.inc,v 1.51 2002/02/22 21:06:01 drahn Exp $
+# $OpenBSD: Makefile.inc,v 1.52 2002/06/08 20:55:31 drahn Exp $
# $NetBSD: Makefile.inc,v 1.35 1995/10/16 23:49:07 jtc Exp $
# @(#)Makefile.inc 8.1 (Berkeley) 6/17/93
@@ -6,7 +6,7 @@
.PATH: ${LIBCSRCDIR}/arch/${MACHINE_ARCH}/sys ${LIBCSRCDIR}/sys
# for now, only i386 has usable weak aliases
-.if ${MACHINE_ARCH} != "i386"
+.if ${MACHINE_ARCH} != "i386" && ${MACHINE_ARCH} != "powerpc" && ${MACHINE_ARCH} != "sparc64" && ${MACHINE_ARCH} != "alpha"
CFLAGS+= -D_NO_WEAK_ALIASES
.endif