summaryrefslogtreecommitdiff
path: root/share/mk
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2002-12-07 22:31:01 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2002-12-07 22:31:01 +0000
commitb86c4981cfede412b0ee9e69fe56fc6d21f65679 (patch)
tree7cf33981a4d4e74b56a982a3e792cde2a0909f30 /share/mk
parentca84afb2ee8d04c17063d652e3237927b22fac6c (diff)
Only use "ASPICFLAG=-k" a.out assembler, not binutils.
With the binutils as, -k is expanded to -keep-locals which is not what we want. OK fgsch@
Diffstat (limited to 'share/mk')
-rw-r--r--share/mk/bsd.own.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/share/mk/bsd.own.mk b/share/mk/bsd.own.mk
index a270a8c8157..a958c72bf0c 100644
--- a/share/mk/bsd.own.mk
+++ b/share/mk/bsd.own.mk
@@ -1,4 +1,4 @@
-# $OpenBSD: bsd.own.mk,v 1.62 2002/08/11 23:13:10 art Exp $
+# $OpenBSD: bsd.own.mk,v 1.63 2002/12/07 22:31:00 millert Exp $
# $NetBSD: bsd.own.mk,v 1.24 1996/04/13 02:08:09 thorpej Exp $
# Host-specific overrides
@@ -121,7 +121,7 @@ PICFLAG=-fPIC
.endif
.if (${MACHINE_ARCH} == "sparc64") || (${MACHINE_ARCH} == "sparc")
ASPICFLAG=-KPIC
-.else
+.elif (${ELF_TOOLCHAIN} != "yes")
ASPICFLAG=-k
.endif