mirror of
git://git.yoctoproject.org/poky
synced 2026-04-02 02:49:11 +00:00
multilib_header: recognize BPF as a target
When building with `clang -target bpf` using the multilib_header, a recursion was unavoidable because bits/wordsize.h would #include itself, still lacking a definition for __MHWORDSIZE or __WORDSIZE. (From OE-Core rev: 70b41b3c335a80b4ac243f468f22331d261299db) (From OE-Core rev: b4738c5cf68a3a5d38dcd42f5b8361378f247db0) Signed-off-by: Daniel Díaz <daniel.diaz@linaro.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
e8df58c07a
commit
bb91b2ae3e
@ -22,7 +22,9 @@
|
||||
*/
|
||||
|
||||
|
||||
#if defined (__arm__)
|
||||
#if defined (__bpf__)
|
||||
#define __MHWORDSIZE 64
|
||||
#elif defined (__arm__)
|
||||
#define __MHWORDSIZE 32
|
||||
#elif defined (__aarch64__) && defined ( __LP64__)
|
||||
#define __MHWORDSIZE 64
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user