summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2002-08-05 15:31:13 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2002-08-05 15:31:13 +0000
commitd5890cc08796393adcb266308657cd9c6112e17d (patch)
tree525b623413e8abdf6816b8e65f46f2cda58136d9
parent89567f8194b74814f141aeede93171f1d5bf4049 (diff)
One more ELF_TOOLCHAIN.
-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 1c8bce11d8a..a0cf4f4a2d1 100644
--- a/lib/libc/sys/Makefile.inc
+++ b/lib/libc/sys/Makefile.inc
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.inc,v 1.54 2002/07/06 19:14:20 nordin Exp $
+# $OpenBSD: Makefile.inc,v 1.55 2002/08/05 15:31:12 art 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 arch's below have weak aliases enabled
-.if ${MACHINE_ARCH} != "i386" && ${MACHINE_ARCH} != "powerpc" && ${MACHINE_ARCH} != "sparc64" && ${MACHINE_ARCH} != "alpha"
+.if ${MACHINE_ARCH} != "i386" || ${ELF_TOOLCHAIN} == "yes"
CFLAGS+= -D_NO_WEAK_ALIASES
.endif