summaryrefslogtreecommitdiffstats
path: root/configure.in
diff options
context:
space:
mode:
authorNathanael Nerode <neroden@gcc.gnu.org>2004-01-03 18:24:38 +0000
committerNathanael Nerode <neroden@gcc.gnu.org>2004-01-03 18:24:38 +0000
commit95036d20ff28a8f19b644b9d1a5c6b60012872b4 (patch)
treeea19a156f0c613640f22b1eb177fd6f796083db7 /configure.in
parente226a4a0de588cdb810bd3ec4e8d0bea06d7c9fe (diff)
downloadppe42-binutils-95036d20ff28a8f19b644b9d1a5c6b60012872b4.tar.gz
ppe42-binutils-95036d20ff28a8f19b644b9d1a5c6b60012872b4.zip
PR bootstrap/11932, PR bootstrap/11933
(I don't know if it will fix either of them, but it relates to them.) * configure.in: Don't use shared config.cache for target directories. * configure: Regenerate.
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in11
1 files changed, 10 insertions, 1 deletions
diff --git a/configure.in b/configure.in
index d7b009cedc..8c0826f834 100644
--- a/configure.in
+++ b/configure.in
@@ -1850,8 +1850,17 @@ if test x${with_newlib} != xno && echo " ${target_configdirs} " | grep " newlib
target_configargs="--with-newlib ${target_configargs}"
fi
+# Different target subdirs use different values of certain variables
+# (notably CXX). Worse, multilibs use *lots* of different values.
+# Worse yet, autoconf 2.5x makes some of these 'precious', meaning that
+# it doesn't automatically accept command-line overrides of them.
+# This means it's not safe for target subdirs to share a cache file,
+# which is disgusting, but there you have it. Hopefully this can be
+# fixed in future. It's still worthwhile to use a cache file for each
+# directory. I think.
+
# Pass the appropriate --host, --build, and --cache-file arguments.
-target_configargs="--cache-file=../config.cache --host=${target_alias} --build=${build_alias} ${target_configargs}"
+target_configargs="--cache-file=config.cache --host=${target_alias} --build=${build_alias} ${target_configargs}"
# provide a proper gxx_include_dir.
# Note, if you change the default, make sure to fix both here and in
OpenPOWER on IntegriCloud