diff options
author | Khem Raj <raj.khem@gmail.com> | 2016-03-17 05:18:21 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-03-20 23:12:27 +0000 |
commit | 0d9f515e1eca0564503fddcaa337fecfd45b368e (patch) | |
tree | dc2ae66ce609abc1ff71bbd84f8ff1000fddd454 /meta/recipes-devtools/python/python-numpy/mips64 | |
parent | e1f3f4cc3c2468cd8972a5fdf7ff7397edfead7a (diff) | |
download | poky-0d9f515e1eca0564503fddcaa337fecfd45b368e.tar.gz |
python-numpy: Fix build on musl
Match API version in cached _numpyconfig.h to the
one mandated by numpy version in use.
(From OE-Core rev: 7a0ba5cbb1ea0a379c1e61fb58d7595e8f8480c4)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/python/python-numpy/mips64')
-rw-r--r-- | meta/recipes-devtools/python/python-numpy/mips64/_numpyconfig.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/recipes-devtools/python/python-numpy/mips64/_numpyconfig.h b/meta/recipes-devtools/python/python-numpy/mips64/_numpyconfig.h index be57ac27bf..8e2b5d0940 100644 --- a/meta/recipes-devtools/python/python-numpy/mips64/_numpyconfig.h +++ b/meta/recipes-devtools/python/python-numpy/mips64/_numpyconfig.h | |||
@@ -8,6 +8,7 @@ | |||
8 | #define NPY_SIZEOF_COMPLEX_DOUBLE 16 | 8 | #define NPY_SIZEOF_COMPLEX_DOUBLE 16 |
9 | #define NPY_SIZEOF_LONGDOUBLE 16 | 9 | #define NPY_SIZEOF_LONGDOUBLE 16 |
10 | #define NPY_SIZEOF_COMPLEX_LONGDOUBLE 32 | 10 | #define NPY_SIZEOF_COMPLEX_LONGDOUBLE 32 |
11 | #define NPY_ENABLE_SEPARATE_COMPILATION 1 | ||
11 | #define NPY_SIZEOF_PY_INTPTR_T 8 | 12 | #define NPY_SIZEOF_PY_INTPTR_T 8 |
12 | #define NPY_SIZEOF_PY_LONG_LONG 8 | 13 | #define NPY_SIZEOF_PY_LONG_LONG 8 |
13 | #define NPY_SIZEOF_LONGLONG 8 | 14 | #define NPY_SIZEOF_LONGLONG 8 |
@@ -23,7 +24,7 @@ | |||
23 | #define NPY_USE_C99_FORMATS 1 | 24 | #define NPY_USE_C99_FORMATS 1 |
24 | #define NPY_VISIBILITY_HIDDEN __attribute__((visibility("hidden"))) | 25 | #define NPY_VISIBILITY_HIDDEN __attribute__((visibility("hidden"))) |
25 | #define NPY_ABI_VERSION 0x01000009 | 26 | #define NPY_ABI_VERSION 0x01000009 |
26 | #define NPY_API_VERSION 0x00000007 | 27 | #define NPY_API_VERSION 0x0000000A |
27 | 28 | ||
28 | #ifndef __STDC_FORMAT_MACROS | 29 | #ifndef __STDC_FORMAT_MACROS |
29 | #define __STDC_FORMAT_MACROS 1 | 30 | #define __STDC_FORMAT_MACROS 1 |