summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2004-06-03 20:51:08 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2004-06-03 20:51:08 +0000
commit143dbfc41c9a6689a6d6c246d25e8f75b4bc6202 (patch)
tree30abf7b2f67947290c9163b5f024dfe4934288ba
parent6d343ec41e6d66ca7f0eec025a4ce0cfcc4714a1 (diff)
Define LIBARCH for alpha and amd64, too; ok espie@ tdeval@
-rw-r--r--share/mk/bsd.prog.mk7
1 files changed, 4 insertions, 3 deletions
diff --git a/share/mk/bsd.prog.mk b/share/mk/bsd.prog.mk
index 300d34d5390..1e00e2d4855 100644
--- a/share/mk/bsd.prog.mk
+++ b/share/mk/bsd.prog.mk
@@ -1,4 +1,4 @@
-# $OpenBSD: bsd.prog.mk,v 1.38 2003/08/29 00:04:41 jolan Exp $
+# $OpenBSD: bsd.prog.mk,v 1.39 2004/06/03 20:51:07 miod Exp $
# $NetBSD: bsd.prog.mk,v 1.55 1996/04/08 21:19:26 jtc Exp $
# @(#)bsd.prog.mk 5.26 (Berkeley) 6/25/91
@@ -63,8 +63,9 @@ LIBWRAP?= ${DESTDIR}/usr/lib/libwrap.a
LIBY?= ${DESTDIR}/usr/lib/liby.a
LIBZ?= ${DESTDIR}/usr/lib/libz.a
-.if ${MACHINE_ARCH} == "i386"
-LIBARCH?= ${DESTDIR}/usr/lib/libi386.a
+.if (${MACHINE_ARCH} == "alpha" || ${MACHINE_ARCH} == "amd64" || \
+ ${MACHINE_ARCH} == "i386")
+LIBARCH?= ${DESTDIR}/usr/lib/lib${MACHINE_ARCH}.a
.else
LIBARCH?=
.endif