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/recipes-devtools/gcc/gcc-4.8.inc | |
parent | d638db8d8fd2e9ce945449b920663274f054f9d6 (diff) | |
download | 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/recipes-devtools/gcc/gcc-4.8.inc')
-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 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}" | |||
85 | FORTRAN = "" | 85 | FORTRAN = "" |
86 | JAVA = "" | 86 | JAVA = "" |
87 | 87 | ||
88 | EXTRA_OECONF_BASE = " --enable-lto \ | 88 | LTO = "--enable-lto" |
89 | |||
90 | EXTRA_OECONF_BASE = " ${LTO} \ | ||
89 | --enable-libssp \ | 91 | --enable-libssp \ |
90 | --disable-bootstrap \ | 92 | --disable-bootstrap \ |
91 | --disable-libmudflap \ | 93 | --disable-libmudflap \ |