diff options
author | rwild <rwild@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-10-13 03:31:50 +0000 |
---|---|---|
committer | rwild <rwild@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-10-13 03:31:50 +0000 |
commit | d6ef094a5b1afb9df7a49586e6f07a15ab8be89d (patch) | |
tree | 2f463649f99b354a89d7c66d797f37c52d32bf91 /configure.ac | |
parent | fefb28f471191f6ddb9804037a35a59575db7d90 (diff) | |
download | gcc-d6ef094a5b1afb9df7a49586e6f07a15ab8be89d.tar.gz |
Fix toplevel 'config.status --recheck' for --enable-lto.
/:
* configure.ac: Add 'lto' to enable_languages, not
new_enable_languages, and only if not already present.
* configure: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@152697 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index c961fe8ba98..407ab595e76 100644 --- a/configure.ac +++ b/configure.ac @@ -1811,7 +1811,10 @@ if test -d ${srcdir}/gcc; then # If LTO is enabled, add the LTO front end. extra_host_libiberty_configure_flags= if test "$enable_lto" = "yes" ; then - new_enable_languages="${new_enable_languages}lto," + case ,${enable_languages}, in + *,lto,*) ;; + *) enable_languages="${enable_languages},lto" ;; + esac if test "${ENABLE_GOLD}" = "yes" ; then configdirs="$configdirs lto-plugin" extra_host_libiberty_configure_flags=--enable-shared |