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/aarch64/_numpyconfig.h | |
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/aarch64/_numpyconfig.h')
-rw-r--r-- | meta/recipes-devtools/python/python-numpy/aarch64/_numpyconfig.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/recipes-devtools/python/python-numpy/aarch64/_numpyconfig.h b/meta/recipes-devtools/python/python-numpy/aarch64/_numpyconfig.h index be57ac27bf..191e5a19e2 100644 --- a/meta/recipes-devtools/python/python-numpy/aarch64/_numpyconfig.h +++ b/meta/recipes-devtools/python/python-numpy/aarch64/_numpyconfig.h | |||
@@ -20,10 +20,11 @@ | |||
20 | #define NPY_HAVE_COMPLEX_DOUBLE 1 | 20 | #define NPY_HAVE_COMPLEX_DOUBLE 1 |
21 | #define NPY_HAVE_COMPLEX_FLOAT 1 | 21 | #define NPY_HAVE_COMPLEX_FLOAT 1 |
22 | #define NPY_HAVE_COMPLEX_LONG_DOUBLE 1 | 22 | #define NPY_HAVE_COMPLEX_LONG_DOUBLE 1 |
23 | #define NPY_ENABLE_SEPARATE_COMPILATION 1 | ||
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 |