aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorHans-Peter Nilsson <hp@dummer.localdomain>2014-10-24 14:30:35 +0000
committerHans-Peter Nilsson <hp@gcc.gnu.org>2014-10-24 14:30:35 +0000
commit3d96b0d07399d6f06e6ec86ffa9c544b4d60dc11 (patch)
treebfd591dfa59e4835ad90c4e16b7eedeacd12d5d2 /configure
parent8e3d9e673a07f84908bb7bb6b8e313ec45e6ed78 (diff)
downloadgcc-3d96b0d07399d6f06e6ec86ffa9c544b4d60dc11.zip
gcc-3d96b0d07399d6f06e6ec86ffa9c544b4d60dc11.tar.gz
gcc-3d96b0d07399d6f06e6ec86ffa9c544b4d60dc11.tar.bz2
configure.ac (build_configargs): Don't share config.cache between build subdirs.
* configure.ac (build_configargs): Don't share config.cache between build subdirs. From-SVN: r216669
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure6
1 files changed, 4 insertions, 2 deletions
diff --git a/configure b/configure
index ce984b1..a8f1b8c 100755
--- a/configure
+++ b/configure
@@ -7386,8 +7386,10 @@ tbaseargs="$tbaseargs --disable-option-checking"
# For the build-side libraries, we just need to pretend we're native,
# and not use the same cache file. Multilibs are neither needed nor
-# desired.
-build_configargs="$build_configargs --cache-file=../config.cache ${baseargs}"
+# desired. We can't even use the same cache file for all build-side
+# libraries, as they're compiled differently; some with C, some with
+# C++ or with different feature-enabling options.
+build_configargs="$build_configargs --cache-file=./config.cache ${baseargs}"
# For host modules, accept cache file option, or specification as blank.
case "${cache_file}" in