diff options
| author | Khem Raj <raj.khem@gmail.com> | 2020-04-09 14:01:24 -0700 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2020-04-09 17:09:07 -0700 |
| commit | 061cb505ee357c9319c1a85098ce8aab1cf99e81 (patch) | |
| tree | 365adb474092d394e97edade3ea53ca51722f7c1 | |
| parent | f47c88c4cde799e69e3e541a4ceceddf2f0bf484 (diff) | |
| download | meta-openembedded-061cb505ee357c9319c1a85098ce8aab1cf99e81.tar.gz | |
nspr: Use _MIPS_SIM_ABI64 instead of _ABI64
_ABI64 is glibc specific, to use a common define from asm/sgidefs.h will
work in every case
Signed-off-by: Khem Raj <raj.khem@gmail.com>
| -rw-r--r-- | meta-oe/recipes-support/nspr/nspr/0001-md-Fix-build-with-musl.patch | 14 |
1 files 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 | |||
| 13 | pr/include/md/_linux.cfg | 2 +- | 13 | pr/include/md/_linux.cfg | 2 +- |
| 14 | 1 file changed, 1 insertion(+), 1 deletion(-) | 14 | 1 file changed, 1 insertion(+), 1 deletion(-) |
| 15 | 15 | ||
| 16 | diff --git a/pr/include/md/_linux.cfg b/pr/include/md/_linux.cfg | ||
| 17 | index 640b19c..31296a8 100644 | ||
| 18 | --- a/pr/include/md/_linux.cfg | 16 | --- a/pr/include/md/_linux.cfg |
| 19 | +++ b/pr/include/md/_linux.cfg | 17 | +++ b/pr/include/md/_linux.cfg |
| 20 | @@ -499,7 +499,7 @@ | 18 | @@ -499,7 +499,7 @@ |
| @@ -26,6 +24,12 @@ index 640b19c..31296a8 100644 | |||
| 26 | 24 | ||
| 27 | #ifdef __MIPSEB__ | 25 | #ifdef __MIPSEB__ |
| 28 | #define IS_BIG_ENDIAN 1 | 26 | #define IS_BIG_ENDIAN 1 |
| 29 | -- | 27 | @@ -511,7 +511,7 @@ |
| 30 | 2.14.1 | 28 | #error "Unknown MIPS endianness." |
| 31 | 29 | #endif | |
| 30 | |||
| 31 | -#if _MIPS_SIM == _ABI64 | ||
| 32 | +#if _MIPS_SIM == _MIPS_SIM_ABI64 | ||
| 33 | |||
| 34 | #define IS_64 | ||
| 35 | |||
