diff options
author | Kevin Hao <kexin.hao@windriver.com> | 2015-07-31 13:21:25 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-07-31 15:15:12 +0100 |
commit | a1c83bb5556837d31d934b9af130cdbac19d5e97 (patch) | |
tree | 776bbc7f314f0c2852871476d6e2c589e6d115cb /meta/recipes-gnome/libunique | |
parent | ac4ef551d506a5767946cf2fb717c2fd7f86df9c (diff) | |
download | openembedded-core-a1c83bb5556837d31d934b9af130cdbac19d5e97.tar.gz openembedded-core-a1c83bb5556837d31d934b9af130cdbac19d5e97.tar.bz2 openembedded-core-a1c83bb5556837d31d934b9af130cdbac19d5e97.zip |
u-boot: fix extern inline build errors for gcc 5
The gcc 5 change its default standard from gnu89 to gnu11. These two
standards do have different semantics for inline functions. And the
gcc 5 will emit the following errors on the "extern inline" functions:
arch/powerpc/cpu/mpc8xxx/fsl_lbc.o: In function `ld_le16':
./arch/powerpc/include/asm/byteorder.h:12: multiple definition of `ld_le16'
arch/powerpc/cpu/mpc8xxx/fdt.o:./arch/powerpc/include/asm/byteorder.h:12: first defined here
Fix these build errors by using "-fgnu89-inline" to enforce the gnu89
inline semantics as suggested in [1].
[1] https://gcc.gnu.org/gcc-5/porting_to.html
Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-gnome/libunique')
0 files changed, 0 insertions, 0 deletions