diff options
author | Khem Raj <raj.khem@gmail.com> | 2020-01-08 08:42:54 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-01-10 21:18:22 +0000 |
commit | 019f8d3c0023b3d74790896148c174060cb2a604 (patch) | |
tree | 4f4cab89e7fcb1b2475100710ffab85dc7392f85 /meta/recipes-extended/cups/cups.inc | |
parent | 1eecc83125ae1dee10537a13620c8355edf1d001 (diff) | |
download | poky-019f8d3c0023b3d74790896148c174060cb2a604.tar.gz |
opensbi: Use -ffreestanding compiler options
This usually helps compiler to not use built-in optimizations
for string functions and mem* functions unnecessarily, since OE's
compiler is hosted for linux cross compile, this also means we instruct
it rightly for building a baremetal application
Refresh the patches to apply without fuzz
Fixes linking errors e.g.
platform/qemu/virt/lib/libplatsbi.a(sbi_string.o): in function `sbi_memset':
| /mnt/b/yoe/build/tmp/work/riscv64-yoe-linux/opensbi/0.5-r0/git/lib/sbi/sbi_string.c:102: undefined reference to `memset'
| collect2: error: ld returned 1 exit status
(From OE-Core rev: f599b6c77f3585c8917f4d685689da4cc8a8bf04)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/cups/cups.inc')
0 files changed, 0 insertions, 0 deletions