From: Richard Purdie Date: Tue, 27 Aug 2013 12:46:56 +0000 (+0000) Subject: gcc-4.8.inc: Allow lto to be configurable X-Git-Tag: 2015-4~5350 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=e4582a51a2500ad3b418e53170f5fb6b2cbd98a5;p=openembedded-core.git 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. Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-devtools/gcc/gcc-4.8.inc b/meta/recipes-devtools/gcc/gcc-4.8.inc index e66bdaf28c..39f323d87e 100644 --- a/meta/recipes-devtools/gcc/gcc-4.8.inc +++ b/meta/recipes-devtools/gcc/gcc-4.8.inc @@ -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 \