summaryrefslogtreecommitdiff
path: root/lib/libc/sys/Makefile.inc
diff options
context:
space:
mode:
authorDavid Leonard <d@cvs.openbsd.org>2000-01-06 16:53:31 +0000
committerDavid Leonard <d@cvs.openbsd.org>2000-01-06 16:53:31 +0000
commitb13d45523ed9e4b3e1f0807282632220261f0aea (patch)
treea0d28944258459c1aeebf0bb7754141dde644d67 /lib/libc/sys/Makefile.inc
parentadcfe0a616578dbbd8200d322b70e9b8b8a51bed (diff)
for now, disable weak aliases for all archs except i386
Diffstat (limited to 'lib/libc/sys/Makefile.inc')
-rw-r--r--lib/libc/sys/Makefile.inc7
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 \