summaryrefslogtreecommitdiffstats
path: root/scripts/multilib_header_wrapper.h
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2020-05-16 08:58:41 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-05-18 06:31:53 +0100
commit6d8c7e3426a74b1bc4752d508f68548480955853 (patch)
tree4183c1f270d4d85fe8dcd8995f27b76696d52e42 /scripts/multilib_header_wrapper.h
parent7496c8fd4b2d9a69ee764f196abaec6172be2f02 (diff)
downloadopenembedded-core-contrib-6d8c7e3426a74b1bc4752d508f68548480955853.tar.gz
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 Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/multilib_header_wrapper.h')
-rw-r--r--scripts/multilib_header_wrapper.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/scripts/multilib_header_wrapper.h b/scripts/multilib_header_wrapper.h
index 62b57ca8eec..df01b56a72a 100644
--- a/scripts/multilib_header_wrapper.h
+++ b/scripts/multilib_header_wrapper.h
@@ -5,9 +5,7 @@
*
*/
-#if defined (__bpf__)
-#define __MHWORDSIZE 64
-#elif defined (__arm__)
+#if defined (__arm__)
#define __MHWORDSIZE 32
#elif defined (__aarch64__) && defined ( __LP64__)
#define __MHWORDSIZE 64