mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2025-07-19 15:29:08 +02:00

0.38.0 - 2021-06-14 ------------------- - Remove the last use of setup.py test idiom. - Use m2_PyObject_AsReadBuffer instead of PyObject_AsReadBuffer. - Add support for arm64 big endian <Steev Klimaszewski> - Make support of RSA_SSLV23_PADDING optional (it has been deprecated). - Move project to src/ layout - Allow verify_cb_* to be called with ok=True <Casey Deccio> - Be prepared if any of constants in x509_vfy.h is not available. - But we do support 3.8 - We DO NOT support Python 2.6. Refresh the following patch: cross-compile-platform.patch 0001-Allow-verify_cb_-to-be-called-with-ok-True.patch 0001-Use-of-RSA_SSLV23_PADDING-has-been-deprecated.patch Removed since these are included in 0.38.0 Signed-off-by: Zang Ruochen <zangrc.fnst@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
34 lines
1.4 KiB
Diff
34 lines
1.4 KiB
Diff
Do not compute platform, this does not work in cross compile environment
|
|
since it pokes at the system for getting architecture values
|
|
|
|
Upstream-Status: Inappropriate
|
|
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
--- a/setup.py
|
|
+++ b/setup.py
|
|
@@ -169,24 +169,6 @@ class _M2CryptoBuildExt(build_ext.build_
|
|
log.debug('self.include_dirs = %s', self.include_dirs)
|
|
log.debug('self.library_dirs = %s', self.library_dirs)
|
|
|
|
- if platform.system() == "Linux":
|
|
- # For RedHat-based distros, the '-D__{arch}__' option for
|
|
- # Swig needs to be normalized, particularly on i386.
|
|
- mach = platform.machine().lower()
|
|
- if mach in ('i386', 'i486', 'i586', 'i686'):
|
|
- arch = '__i386__'
|
|
- elif mach in ('ppc64', 'powerpc64', 'ppc64le', 'ppc64el'):
|
|
- arch = '__powerpc64__'
|
|
- elif mach in ('ppc', 'powerpc'):
|
|
- arch = '__powerpc__'
|
|
- else:
|
|
- arch = '__%s__' % mach
|
|
- self.swig_opts.append('-D%s' % arch)
|
|
- if mach in ('ppc64le', 'ppc64el'):
|
|
- self.swig_opts.append('-D_CALL_ELF=2')
|
|
- if mach in ('arm64_be'):
|
|
- self.swig_opts.append('-D__AARCH64EB__')
|
|
-
|
|
self.swig_opts.extend(['-I%s' % i for i in self.include_dirs])
|
|
|
|
# Some Linux distributor has added the following line in
|