diff options
author | Ting Liu <ting.liu@freescale.com> | 2015-07-28 19:15:51 +0800 |
---|---|---|
committer | Zhenhua Luo <zhenhua.luo@freescale.com> | 2015-07-29 12:16:00 +0800 |
commit | 7a0f93fca7d69c2d34d75229d42caf37a8e9aaae (patch) | |
tree | a18888536699cd96b376e8e3fc73b2d84970b8b8 /recipes-kernel/cryptodev | |
parent | bffe64083720e11cca261494eee767281fbf93f6 (diff) | |
download | meta-fsl-ppc-7a0f93fca7d69c2d34d75229d42caf37a8e9aaae.tar.gz |
u-boot-qoriq: add -fgnu89-inline option for gcc5
Fix the below build issues:
CC drivers/crypto/fsl/sec.o
LD arch/powerpc/cpu/mpc8xxx/built-in.o
arch/powerpc/cpu/mpc8xxx/fdt.o: In function `ld_le16':
../arch/powerpc/include/asm/byteorder.h:12: multiple definition of `ld_le16'
The problem is the change of the default C standard from gnu89 to gnu11
which changes the semantics of 'inline'. The issue is described in the
Porting guide at https://gcc.gnu.org/gcc-5/porting_to.html. Adding the
'-fgnu89-inline' option fixes the issue.
Signed-off-by: Ting Liu <ting.liu@freescale.com>
Acked-by: Otavio Salvador <otavio@ossystems.com.br>
Diffstat (limited to 'recipes-kernel/cryptodev')
0 files changed, 0 insertions, 0 deletions