diff options
author | sevan <sevan@pkgsrc.org> | 2017-12-09 00:33:36 +0000 |
---|---|---|
committer | sevan <sevan@pkgsrc.org> | 2017-12-09 00:33:36 +0000 |
commit | 7ae07f3538745ca2cc270ea343452a568b5f921e (patch) | |
tree | 807b80805e3ede2a8f7b5240b00d0e67c83e38ff /bootstrap | |
parent | 4b3e715b9181a315d979c3198c90ccccd2ac406e (diff) | |
download | pkgsrc-7ae07f3538745ca2cc270ea343452a568b5f921e.tar.gz |
Define machine_arch for Cygwin, this resolves an issue where MACHINE_ARCH is set
to blank & configure substituation breaks because host type identifier is
complete.
-pc-cygwin, rather than x86_64-pc-cygwin.
Diffstat (limited to 'bootstrap')
-rwxr-xr-x | bootstrap/bootstrap | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bootstrap/bootstrap b/bootstrap/bootstrap index 79c17daf8cc..9e8aa08d577 100755 --- a/bootstrap/bootstrap +++ b/bootstrap/bootstrap @@ -1,6 +1,6 @@ #! /bin/sh -# $NetBSD: bootstrap,v 1.244 2017/10/22 19:29:20 bsiegert Exp $ +# $NetBSD: bootstrap,v 1.245 2017/12/09 00:33:36 sevan Exp $ # # Copyright (c) 2001-2011 Alistair Crooks <agc@NetBSD.org> # All rights reserved. @@ -542,6 +542,7 @@ CYGWIN_*) need_awk=no need_sed=no need_xargs=no + machine_arch=`uname -m` # only used for unprivileged builds. whoamiprog='id -u' groupsprog='id -g' |