Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexandre Oliva <aoliva@redhat.com>2000-07-24 08:34:08 +0400
committerAlexandre Oliva <aoliva@redhat.com>2000-07-24 08:34:08 +0400
commit5115ba4beb0bc1f0ce0d2681b0acf274edb0c400 (patch)
tree8ce0105daedc47420b1900686a9b62e6d26ba475
parentbb7f93f8983e45d4616c68bfa7548d46e89922d0 (diff)
* configure.in: Use the same cache file for all target libs.
* config-ml.in: But different cache files per multilib variant.
-rw-r--r--ChangeLog5
-rw-r--r--config-ml.in2
-rw-r--r--configure.in2
3 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 0e57d7fbe..7e5559ecf 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2000-07-24 Alexandre Oliva <aoliva@redhat.com>
+
+ * configure.in: Use the same cache file for all target libs.
+ * config-ml.in: But different cache files per multilib variant.
+
2000-07-23 Michael Sokolov <msokolov@ivan.Harhan.ORG>
* configure (topsrcdir): Don't use dirname.
diff --git a/config-ml.in b/config-ml.in
index 60b1d2c1f..e5ca10ec1 100644
--- a/config-ml.in
+++ b/config-ml.in
@@ -742,7 +742,7 @@ if [ -n "${multidirs}" ] && [ -z "${ml_norecursion}" ]; then
cd ${ml_dir}/${ml_libdir}
if [ -f ${ml_newsrcdir}/configure ]; then
- ml_recprog=${ml_newsrcdir}/configure
+ ml_recprog="${ml_newsrcdir}/configure --cache-file=../config.cache"
fi
# find compiler flag corresponding to ${ml_dir}
diff --git a/configure.in b/configure.in
index f371c105e..56c5d7b5d 100644
--- a/configure.in
+++ b/configure.in
@@ -1213,7 +1213,7 @@ else
gxx_include_dir=${gxx_include_dir}
fi
-targargs="--host=${target_alias} --build=${build_alias} ${targargs}"
+targargs="--cache-file=../config.cache --host=${target_alias} --build=${build_alias} ${targargs}"
sed -e "s:^TARGET_CONFIGDIRS[ ]*=.*$:TARGET_CONFIGDIRS = ${target_configdirs}:" \
-e "s%^CONFIG_ARGUMENTS[ ]*=.*$%CONFIG_ARGUMENTS = ${targargs}%" \
-e "s%^TARGET_SUBDIR[ ]*=.*$%TARGET_SUBDIR = ${target_subdir}%" \