pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk/tools Create ranlib override for cross-compilation ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/00479b9843f6
branches: trunk
changeset: 532271:00479b9843f6
user: joerg <joerg%pkgsrc.org@localhost>
date: Wed Aug 15 13:24:14 2007 +0000
description:
Create ranlib override for cross-compilation as libtool doesn't
use the target version.
If we ever want to create archives for the native platform,
NATIVE_RANLIB similiar to NATIVE_CC should be introduced.
diffstat:
mk/tools/tools.NetBSD.mk | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diffs (19 lines):
diff -r 9b18a64f924d -r 00479b9843f6 mk/tools/tools.NetBSD.mk
--- a/mk/tools/tools.NetBSD.mk Wed Aug 15 13:23:27 2007 +0000
+++ b/mk/tools/tools.NetBSD.mk Wed Aug 15 13:24:14 2007 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: tools.NetBSD.mk,v 1.36 2007/08/02 18:19:32 joerg Exp $
+# $NetBSD: tools.NetBSD.mk,v 1.37 2007/08/15 13:24:14 joerg Exp $
#
# System-supplied tools for the NetBSD operating system.
@@ -121,6 +121,9 @@
TOOLS_CREATE+= ${MACHINE_GNU_PLATFORM}-${_t_}
.endfor
+TOOLS_PATH.ranlib?= ${TOOLDIR}/bin/${MACHINE_GNU_PLATFORM}-ranlib
+TOOLS_CREATE+= ranlib
+
NATIVE_CC:= /usr/bin/cc
CC= ${TOOLDIR}/bin/${MACHINE_GNU_PLATFORM}-gcc
Home |
Main Index |
Thread Index |
Old Index