diff options
author | Khem Raj <raj.khem@gmail.com> | 2014-04-25 00:14:16 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-05-06 17:59:15 +0100 |
commit | 9f1f18559c32bca3b37ea0fb1e090e56a2b510fb (patch) | |
tree | 4192c9277da6a6fc61f5d61104f80cc01684301e /meta/recipes-devtools/binutils/binutils-2.24.inc | |
parent | 3d094751c8712f6805f9303c75471ccd26be304e (diff) | |
download | poky-9f1f18559c32bca3b37ea0fb1e090e56a2b510fb.tar.gz |
cairo: Fix build with gcc 4.9
Fix upstream bug
https://bugs.freedesktop.org/show_bug.cgi?id=77060
gcc 4.9 now generates slim objects when LTO is used
These slim objects only contain intermediate language
representation for LTO. Use -ffat-lto-objects to create files which
contain additionally the object code. When linking some .so file, the option
'-flto' is missed, so the error happens.
We add '-ffat-lto-objects' flag to make gcc 4.9 behaves the same as gcc 4.8.
(From OE-Core rev: c4e65e14fbdf957aa34e074337c5649a0b0888b7)
(From OE-Core rev: 858f01ab9613c2b122718c350da763f8fe981d9f)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/binutils/binutils-2.24.inc')
0 files changed, 0 insertions, 0 deletions