diff options
author | Alexandre Oliva <aoliva@redhat.com> | 2000-07-24 04:29:33 +0000 |
---|---|---|
committer | Alexandre Oliva <aoliva@gcc.gnu.org> | 2000-07-24 04:29:33 +0000 |
commit | 059ae32cc451f833e6bab0a2aac5c7efb981dd9e (patch) | |
tree | f8631e9cd187c5685cd61a4ac42efe071d80feb6 | |
parent | c030bee9a8439e19e5f4f2a73254c14e665199f5 (diff) | |
download | gcc-059ae32cc451f833e6bab0a2aac5c7efb981dd9e.zip gcc-059ae32cc451f833e6bab0a2aac5c7efb981dd9e.tar.gz gcc-059ae32cc451f833e6bab0a2aac5c7efb981dd9e.tar.bz2 |
configure.in: Use the same cache file for all target libs.
* configure.in: Use the same cache file for all target libs.
* config-ml.in: But different cache files per multilib variant.
From-SVN: r35219
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | config-ml.in | 2 | ||||
-rw-r--r-- | configure.in | 2 |
3 files changed, 7 insertions, 2 deletions
@@ -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 60b1d2c..e5ca10e 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 e4ed2b2..44d7340 100644 --- a/configure.in +++ b/configure.in @@ -1216,7 +1216,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}%" \ |