summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2021-06-09 19:42:04 +0000
committermidipix <writeonce@midipix.org>2021-06-10 09:08:29 +0000
commite2a544f49164fff108a3e8347efb10f9f31856f9 (patch)
tree0dd18501017c21d2c3e9d6ff67c6b4bdd2342189
parent233171e97ca5f02b9a4c0a0ac0f3b4b15f78b4b4 (diff)
downloadntcon-e2a544f49164fff108a3e8347efb10f9f31856f9.tar.bz2
ntcon-e2a544f49164fff108a3e8347efb10f9f31856f9.tar.xz
build system: configure: init_vars(): record explicit CCHOST and --cchost.
-rwxr-xr-xconfigure6
1 files changed, 6 insertions, 0 deletions
diff --git a/configure b/configure
index 9c7a6b2..482bf22 100755
--- a/configure
+++ b/configure
@@ -207,6 +207,11 @@ init_vars()
mb_source_dir_set=yes
fi
+ # cchost
+ if [ -n "$CCHOST" ]; then
+ mb_cchost_set=yes
+ fi
+
# step prolog
output_step_prolog ${mb_script} 'init_vars'
@@ -1111,6 +1116,7 @@ for arg ; do
;;
--cchost=*)
mb_cchost=${arg#*=}
+ mb_cchost_set=yes
;;
--cfghost=*)
mb_cfghost=${arg#*=}