[oe-commits] Richard Purdie : gcc-4.8.inc: Allow lto to be configurable
git at git.openembedded.org
git at git.openembedded.org
Tue Aug 27 12:37:49 UTC 2013
Module: openembedded-core.git
Branch: master
Commit: e4582a51a2500ad3b418e53170f5fb6b2cbd98a5
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=e4582a51a2500ad3b418e53170f5fb6b2cbd98a5
Author: Richard Purdie <richard.purdie at linuxfoundation.org>
Date: Tue Aug 27 12:46:56 2013 +0000
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 at linuxfoundation.org>
---
meta/recipes-devtools/gcc/gcc-4.8.inc | 4 +++-
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 e66bdaf..39f323d 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 \
More information about the Openembedded-commits
mailing list