From: Khem Raj Date: Sat, 16 May 2020 15:58:41 +0000 (-0700) Subject: multilib_header: Fall back to worsize form libc for bpf target X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~11085 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6d8c7e3426a74b1bc4752d508f68548480955853;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git 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 Signed-off-by: Richard Purdie --- 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