summaryrefslogtreecommitdiffstats
path: root/lib/libstand/Makefile
diff options
context:
space:
mode:
authormsmith <msmith@FreeBSD.org>1998-11-04 07:39:53 +0000
committermsmith <msmith@FreeBSD.org>1998-11-04 07:39:53 +0000
commit4674ed7cfb732b303130ffc95b8711b1067b1ace (patch)
tree4c2b795a5ce43169547391989145c990a39b5e41 /lib/libstand/Makefile
parent38c50ef2661e8479071e8891e4218c3408002982 (diff)
downloadFreeBSD-src-4674ed7cfb732b303130ffc95b8711b1067b1ace.zip
FreeBSD-src-4674ed7cfb732b303130ffc95b8711b1067b1ace.tar.gz
Well I never. Seems like _setjmp()/_longjmp() are just what the doctor
ordered. This brings the Alpha back to parity, and should bring us BootForth on both platforms. Submitted by: John Birrell (jb@freebsd.org)
Diffstat (limited to 'lib/libstand/Makefile')
-rw-r--r--lib/libstand/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/libstand/Makefile b/lib/libstand/Makefile
index 78e24c4..fe4d343 100644
--- a/lib/libstand/Makefile
+++ b/lib/libstand/Makefile
@@ -1,4 +1,4 @@
-# $Id: Makefile,v 1.8 1998/11/04 00:23:11 msmith Exp $
+# $Id: Makefile,v 1.9 1998/11/04 00:32:08 msmith Exp $
#
# Originally from $NetBSD: Makefile,v 1.21 1997/10/26 22:08:38 lukem Exp $
#
@@ -90,11 +90,11 @@ __reml.S: ${.CURDIR}/../libc/alpha/gen/divrem.m4
.PATH: ${.CURDIR}/../libc/net
SRCS+= inet_ntoa.c inet_addr.c
-# setjmp/longjmp
-.if ${MACHINE_ARCH} == "i386"
-.PATH: ${.CURDIR}/${MACHINE_ARCH}
+# _setjmp/_longjmp
+.PATH: ${.CURDIR}/../libc/${MACHINE_ARCH}/gen
+SRCS+= _setjmp.S
+# really only required for i386
CFLAGS+=-I${.CURDIR}/../libc/${MACHINE_ARCH}
-SRCS+= setjmp.S
.endif
# decompression functionality from libz
OpenPOWER on IntegriCloud