summaryrefslogtreecommitdiff
path: root/meta/recipes-devtools/python/python-numpy/powerpc
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2016-03-17 05:18:21 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-03-20 22:57:56 +0000
commit7a0ba5cbb1ea0a379c1e61fb58d7595e8f8480c4 (patch)
tree8df3afeed2a73f9837267dfa4fe88627aaf42a24 /meta/recipes-devtools/python/python-numpy/powerpc
parentcd3408e7b845891b63de04249982330e02f13ee8 (diff)
downloadopenembedded-core-7a0ba5cbb1ea0a379c1e61fb58d7595e8f8480c4.tar.gz
openembedded-core-7a0ba5cbb1ea0a379c1e61fb58d7595e8f8480c4.tar.bz2
openembedded-core-7a0ba5cbb1ea0a379c1e61fb58d7595e8f8480c4.zip
python-numpy: Fix build on musl
Match API version in cached _numpyconfig.h to the one mandated by numpy version in use. Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/recipes-devtools/python/python-numpy/powerpc')
-rw-r--r--meta/recipes-devtools/python/python-numpy/powerpc/_numpyconfig.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/recipes-devtools/python/python-numpy/powerpc/_numpyconfig.h b/meta/recipes-devtools/python/python-numpy/powerpc/_numpyconfig.h
index 73cbfb1baa..0f45d5bd44 100644
--- a/meta/recipes-devtools/python/python-numpy/powerpc/_numpyconfig.h
+++ b/meta/recipes-devtools/python/python-numpy/powerpc/_numpyconfig.h
@@ -8,6 +8,7 @@
#define NPY_SIZEOF_COMPLEX_DOUBLE 16
#define NPY_SIZEOF_LONGDOUBLE 16
#define NPY_SIZEOF_COMPLEX_LONGDOUBLE 32
+#define NPY_ENABLE_SEPARATE_COMPILATION 1
#define NPY_SIZEOF_PY_INTPTR_T 4
#define NPY_SIZEOF_PY_LONG_LONG 8
#define NPY_SIZEOF_LONGLONG 8
@@ -23,7 +24,7 @@
#define NPY_USE_C99_FORMATS 1
#define NPY_VISIBILITY_HIDDEN __attribute__((visibility("hidden")))
#define NPY_ABI_VERSION 0x01000009
-#define NPY_API_VERSION 0x00000007
+#define NPY_API_VERSION 0x0000000A
#ifndef __STDC_FORMAT_MACROS
#define __STDC_FORMAT_MACROS 1