diff options
author | Marco S Hyman <marc@cvs.openbsd.org> | 2002-11-03 23:58:40 +0000 |
---|---|---|
committer | Marco S Hyman <marc@cvs.openbsd.org> | 2002-11-03 23:58:40 +0000 |
commit | cdbe8f98f1aaa4cc2ae34992b7621c49424b54df (patch) | |
tree | 759f651ba7c936d05138249d22d57ce2fcaeaca0 /lib/libc/sys | |
parent | 664e44eac173bd00d9757c4d15084393436fcbdc (diff) |
back out previous patch.. there are still some vax/m68k issues
Diffstat (limited to 'lib/libc/sys')
-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 521ef835360..10e43db90e7 100644 --- a/lib/libc/sys/Makefile.inc +++ b/lib/libc/sys/Makefile.inc @@ -1,10 +1,15 @@ -# $OpenBSD: Makefile.inc,v 1.58 2002/11/03 20:36:43 marc Exp $ +# $OpenBSD: Makefile.inc,v 1.59 2002/11/03 23:58:39 marc 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 arch's below have weak aliases enabled +.if ${MACHINE_ARCH} != "i386" && ${ELF_TOOLCHAIN} != "yes" +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 rfork.S \ sbrk.S sigpending.S sigprocmask.S sigreturn.S \ |