gcc-4.8.inc: Allow lto to be configurable

For some platforms its useful to be able to configure LTO so provide a variable
to allow this to happen.

(From OE-Core rev: e4582a51a2500ad3b418e53170f5fb6b2cbd98a5)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Richard Purdie 2013-08-27 12:46:56 +00:00
parent d638db8d8f
commit 325ee9b5fc
1 changed files with 3 additions and 1 deletions

View File

@ -85,7 +85,9 @@ B = "${WORKDIR}/gcc-${PV}/build.${HOST_SYS}.${TARGET_SYS}"
FORTRAN = ""
JAVA = ""
EXTRA_OECONF_BASE = " --enable-lto \
LTO = "--enable-lto"
EXTRA_OECONF_BASE = " ${LTO} \
--enable-libssp \
--disable-bootstrap \
--disable-libmudflap \