From 325ee9b5fcebe902dfea78750502d8f6667d0a97 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Tue, 27 Aug 2013 12:46:56 +0000 Subject: 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 --- meta/recipes-devtools/gcc/gcc-4.8.inc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'meta') 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 \ -- cgit v1.1