]> code.ossystems Code Review - openembedded-core.git/commitdiff
gcc-4.8.inc: Allow lto to be configurable
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 27 Aug 2013 12:46:56 +0000 (12:46 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 27 Aug 2013 12:48:44 +0000 (13:48 +0100)
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 <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/gcc/gcc-4.8.inc

index e66bdaf28c36e722529701ae2f228b39b94e396f..39f323d87eb5e7a759d6ce3bb50fef53049569aa 100644 (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 \