summaryrefslogtreecommitdiff
path: root/lib/libc
diff options
context:
space:
mode:
authorDale Rahn <drahn@cvs.openbsd.org>2002-06-08 20:55:32 +0000
committerDale Rahn <drahn@cvs.openbsd.org>2002-06-08 20:55:32 +0000
commit6bb08cbae98fe6f3b40554de9997ea93528f7df3 (patch)
treef854162ac8b7bd57507eac0d057386ac23639460 /lib/libc
parent4016a961ec539c5218b91f4fc8e32c40a8132410 (diff)
ELF architectures all support weak aliases, enable them for this part.
ok fgsch@
Diffstat (limited to 'lib/libc')
-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