summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2010-10-23 09:46:31 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2010-10-23 09:46:31 +0000
commitd5bc0ab5f690f50ec6227467e5de48e3624aec53 (patch)
treebb7f990729c5ffa84720d02e8b742ce49a7133c8 /gnu
parentbff8bd36340d75f01388e176a8f206dd55054b99 (diff)
Pick correct ranlib to operate on libgcc.a when cross-compiling
Diffstat (limited to 'gnu')
-rw-r--r--gnu/usr.bin/cc/libgcc/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/gnu/usr.bin/cc/libgcc/Makefile b/gnu/usr.bin/cc/libgcc/Makefile
index 90cd99e3530..73a0932af3f 100644
--- a/gnu/usr.bin/cc/libgcc/Makefile
+++ b/gnu/usr.bin/cc/libgcc/Makefile
@@ -1,5 +1,5 @@
# $FreeBSD: src/gnu/lib/libgcc/Makefile,v 1.58.8.1 2009/04/15 03:14:26 kensmith Exp $
-# $OpenBSD: Makefile,v 1.16 2010/09/25 17:44:34 drahn Exp $
+# $OpenBSD: Makefile,v 1.17 2010/10/23 09:46:30 miod Exp $
.include <bsd.own.mk>
@@ -10,6 +10,7 @@ GCCDIR= ${GCCLIB}/gcc
.if defined(CROSSDIR)
LD=${CROSSDIR}/usr/${GCC_TARGET}/bin/ld
+RANLIB=${CROSSDIR}/usr/${GCC_TARGET}/bin/ranlib
.endif
.if defined(CROSS_TARGET)