multilib_header: Fall back to worsize form libc for bpf target

Setting bpf to use 64bit for wordlength is not right, it happens to
work perhaps becuase the targets its being run on are 64bit inherently

(From OE-Core rev: 6d8c7e3426a74b1bc4752d508f68548480955853)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Khem Raj 2020-05-16 08:58:41 -07:00 committed by Richard Purdie
parent 55b6734be9
commit c131b23cdb

View File

@ -5,9 +5,7 @@
* *
*/ */
#if defined (__bpf__) #if defined (__arm__)
#define __MHWORDSIZE 64
#elif defined (__arm__)
#define __MHWORDSIZE 32 #define __MHWORDSIZE 32
#elif defined (__aarch64__) && defined ( __LP64__) #elif defined (__aarch64__) && defined ( __LP64__)
#define __MHWORDSIZE 64 #define __MHWORDSIZE 64