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 | |
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')
-rwxr-xr-x | configure | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/configure b/configure index 76084ed5158..1ece75c489f 100755 --- a/configure +++ b/configure @@ -6593,7 +6593,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 |