diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-08-27 12:46:56 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-08-27 13:48:47 +0100 |
commit | 325ee9b5fcebe902dfea78750502d8f6667d0a97 (patch) | |
tree | 7159d9f8962fb817a19061875d8b837fa22e2052 /meta | |
parent | d638db8d8fd2e9ce945449b920663274f054f9d6 (diff) | |
download | ast2050-yocto-poky-325ee9b5fcebe902dfea78750502d8f6667d0a97.zip ast2050-yocto-poky-325ee9b5fcebe902dfea78750502d8f6667d0a97.tar.gz |
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 <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | 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 \ |