summaryrefslogtreecommitdiff
path: root/meta/recipes-devtools
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2013-08-27 12:46:56 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-08-27 13:48:44 +0100
commite4582a51a2500ad3b418e53170f5fb6b2cbd98a5 (patch)
tree2b0ff4f34401eae48863b189b76cfefc0eeefff9 /meta/recipes-devtools
parent9958653b2bf9e43312a39c6b89ff0ca1cc46995c (diff)
downloadopenembedded-core-e4582a51a2500ad3b418e53170f5fb6b2cbd98a5.tar.gz
openembedded-core-e4582a51a2500ad3b418e53170f5fb6b2cbd98a5.tar.bz2
openembedded-core-e4582a51a2500ad3b418e53170f5fb6b2cbd98a5.zip
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 <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools')
-rw-r--r--meta/recipes-devtools/gcc/gcc-4.8.inc4
1 files changed, 3 insertions, 1 deletions
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 \