diff options
author | Ting Liu <ting.liu@freescale.com> | 2015-07-28 19:15:51 +0800 |
---|---|---|
committer | Otavio Salvador <otavio@ossystems.com.br> | 2015-07-29 10:48:21 -0300 |
commit | 1f4c127ea20ba8a967092235e65816b0f0a9bf71 (patch) | |
tree | 0ad0d2bcc2b1b7fec372b30ba7c53c3efb1ae6d3 /dynamic-layers/openembedded-layer | |
parent | 1149eaae3564abee2a18a8b3481135d7de80b78b (diff) | |
download | meta-freescale-1f4c127ea20ba8a967092235e65816b0f0a9bf71.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>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Diffstat (limited to 'dynamic-layers/openembedded-layer')
0 files changed, 0 insertions, 0 deletions