_ABI64 is glibc specific, to use a common define from asm/sgidefs.h will
work in every case

Signed-off-by: Khem Raj <[email protected]>
---
 .../nspr/nspr/0001-md-Fix-build-with-musl.patch    | 14 +++++++++-----
 1 file changed, 9 insertions(+), 5 deletions(-)

diff --git 
a/meta-oe/recipes-support/nspr/nspr/0001-md-Fix-build-with-musl.patch 
b/meta-oe/recipes-support/nspr/nspr/0001-md-Fix-build-with-musl.patch
index f3cd670026..d2b9bf6420 100644
--- a/meta-oe/recipes-support/nspr/nspr/0001-md-Fix-build-with-musl.patch
+++ b/meta-oe/recipes-support/nspr/nspr/0001-md-Fix-build-with-musl.patch
@@ -13,8 +13,6 @@ Upstream-Status: Pending
  pr/include/md/_linux.cfg | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
 
-diff --git a/pr/include/md/_linux.cfg b/pr/include/md/_linux.cfg
-index 640b19c..31296a8 100644
 --- a/pr/include/md/_linux.cfg
 +++ b/pr/include/md/_linux.cfg
 @@ -499,7 +499,7 @@
@@ -26,6 +24,12 @@ index 640b19c..31296a8 100644
  
  #ifdef __MIPSEB__
  #define IS_BIG_ENDIAN 1
--- 
-2.14.1
-
+@@ -511,7 +511,7 @@
+ #error "Unknown MIPS endianness."
+ #endif
+ 
+-#if _MIPS_SIM == _ABI64
++#if _MIPS_SIM == _MIPS_SIM_ABI64
+ 
+ #define IS_64
+ 
-- 
2.26.0

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#83844): 
https://lists.openembedded.org/g/openembedded-devel/message/83844
Mute This Topic: https://lists.openembedded.org/mt/72907186/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub  
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to