Add LTO to boot language if it is enabled.

2010-10-20  H.J. Lu  <hongjiu.lu@intel.com>

	PR bootstrap/45954
	* config-lang.in (boot_language): Set to $enable_lto.

From-SVN: r165721
This commit is contained in:
H.J. Lu 2010-10-20 12:38:22 +00:00 committed by H.J. Lu
parent 2298ade7e5
commit 703cdce3f5
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2010-10-20 H.J. Lu <hongjiu.lu@intel.com>
PR bootstrap/45954
* config-lang.in (boot_language): Set to $enable_lto.
2010-10-18 Jakub Jelinek <jakub@redhat.com>
PR lto/45638

View File

@ -30,3 +30,6 @@ gtfiles="\$(srcdir)/lto/lto-tree.h \$(srcdir)/lto/lto-lang.c \$(srcdir)/lto/lto.
# enabling this "language". To enable LTO functionality, use
# --enable-lto when configuring the compiler.
build_by_default=no
# Add LTO to boot language if it is enabled.
boot_language=$enable_lto