summaryrefslogtreecommitdiff
path: root/tools/binutils
diff options
context:
space:
mode:
authormrg <mrg@NetBSD.org>2012-04-15 08:37:32 +0000
committermrg <mrg@NetBSD.org>2012-04-15 08:37:32 +0000
commit69e77e498106900ea006c24934d6a9708063eae9 (patch)
treeacd0bb89c0bde5ebbb3d8522d7a2eeaeeb0273d8 /tools/binutils
parentd099d2c5abd0d4121061741ecefe55b16cabf467 (diff)
force set ac_cv_mkdir_path to our install -d program.
fixes the remaining issues with 'sourcesets' and 'tools'.
Diffstat (limited to 'tools/binutils')
-rw-r--r--tools/binutils/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/tools/binutils/Makefile b/tools/binutils/Makefile
index 48c9c2a374c..b24d9f6c434 100644
--- a/tools/binutils/Makefile
+++ b/tools/binutils/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.21 2011/10/31 08:14:44 mrg Exp $
+# $NetBSD: Makefile,v 1.22 2012/04/15 08:37:32 mrg Exp $
.include <bsd.own.mk>
@@ -29,6 +29,9 @@ INSTALL_TARGET+=install-gprof
CCADDFLAGS= -I${DESTDIR}/usr/include -L${DESTDIR}/lib -L${DESTDIR}/usr/lib -B${DESTDIR}/usr/lib/
+# Force avoiding possibly non-executable install-sh.
+CONFIGURE_ENV+= ac_cv_path_mkdir="${TOOLDIR}/bin/${MACHINE_GNU_PLATFORM}-install -d"
+
NEWCONFIGDIR?= ${.CURDIR}/../..
MKNATIVE?= ${.CURDIR}/mknative-binutils