diff options
author | Ralf Wildenhues <Ralf.Wildenhues@gmx.de> | 2009-10-13 03:32:18 +0000 |
---|---|---|
committer | Ralf Wildenhues <Ralf.Wildenhues@gmx.de> | 2009-10-13 03:32:18 +0000 |
commit | 6c41e710c91ef093e58e6b6923b0696d9383a685 (patch) | |
tree | 1152499c1b34bca84308bda6acd84455dddeddc5 /configure | |
parent | b8a35083c6c8ff967576ba6e9978323124506599 (diff) | |
download | newlib-6c41e710c91ef093e58e6b6923b0696d9383a685.zip newlib-6c41e710c91ef093e58e6b6923b0696d9383a685.tar.gz newlib-6c41e710c91ef093e58e6b6923b0696d9383a685.tar.bz2 |
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.
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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 |