diff options
Diffstat (limited to 'meta/recipes-devtools/python')
-rw-r--r-- | meta/recipes-devtools/python/python3-native_3.5.3.bb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/recipes-devtools/python/python3-native_3.5.3.bb b/meta/recipes-devtools/python/python3-native_3.5.3.bb index 3467d29d4e..db0e7b9bd8 100644 --- a/meta/recipes-devtools/python/python3-native_3.5.3.bb +++ b/meta/recipes-devtools/python/python3-native_3.5.3.bb | |||
@@ -44,7 +44,8 @@ inherit native | |||
44 | 44 | ||
45 | require python-native-${PYTHON_MAJMIN}-manifest.inc | 45 | require python-native-${PYTHON_MAJMIN}-manifest.inc |
46 | 46 | ||
47 | EXTRA_OECONF_append = " --bindir=${bindir}/${PN} --without-ensurepip" | 47 | # uninative may be used on pre glibc 2.25 systems which don't have getentropy |
48 | EXTRA_OECONF_append = " --bindir=${bindir}/${PN} --without-ensurepip ac_cv_func_getentropy=no" | ||
48 | 49 | ||
49 | EXTRA_OEMAKE = '\ | 50 | EXTRA_OEMAKE = '\ |
50 | LIBC="" \ | 51 | LIBC="" \ |
@@ -59,6 +60,7 @@ PYTHONLSBOPTS = "" | |||
59 | 60 | ||
60 | do_configure_append() { | 61 | do_configure_append() { |
61 | autoreconf --verbose --install --force --exclude=autopoint ../Python-${PV}/Modules/_ctypes/libffi | 62 | autoreconf --verbose --install --force --exclude=autopoint ../Python-${PV}/Modules/_ctypes/libffi |
63 | sed -i -e 's,#define HAVE_GETRANDOM 1,/\* #undef HAVE_GETRANDOM \*/,' ${B}/pyconfig.h | ||
62 | } | 64 | } |
63 | 65 | ||
64 | do_install() { | 66 | do_install() { |