mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-09-23 11:21:11 +00:00
b1bdecb7be72b2acff63d6b8581d79c9d79661be
It fails to build efibootmgr with gcc 5.2: src/lib/disk.o: In function `disk_get_scsi_pci': src/lib/disk.c:154: undefined reference to `get_scsi_pci' src/lib/efi.o: In function `make_edd30_device_path': src/lib/efi.c:474: undefined reference to `get_scsi_idlun' collect2: error: ld returned 1 exit status Because functions get_scsi_pci and get_scsi_idlun are declared as inline. It has different semantics for inilne function between gcc 4 and gcc 5. Pass flag '-fgnu89-inline' to gcc to fix the errors. Ref: https://gcc.gnu.org/gcc-5/porting_to.html Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Collection of layers for the OE-core universe Please see the respective READMEs in the layer subdirectories
Languages
BitBake
86.5%
Shell
5.8%
C
2.7%
Roff
1.9%
NASL
1.7%
Other
1.2%