diff options
author | Kai Kang <kai.kang@windriver.com> | 2021-08-11 10:49:25 +0800 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2021-08-16 08:21:14 -0700 |
commit | 5d6fc2c1a18b64986bb69965b0119006b20cfe65 (patch) | |
tree | ee175aab74a17818a2336bdd5dd950e15824df0e /meta-python/recipes-devtools/python/python3-m2crypto_0.38.0.bb | |
parent | 82c9ddd853c44b1f2e349657f32e6b8555a77704 (diff) | |
download | meta-openembedded-5d6fc2c1a18b64986bb69965b0119006b20cfe65.tar.gz |
python3-m2crypto: fix for new overrides syntax
Fix wrong replacement caused by script convert-overrides.py. And use new
overrides syntax for 'x32'.
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-m2crypto_0.38.0.bb')
-rw-r--r-- | meta-python/recipes-devtools/python/python3-m2crypto_0.38.0.bb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta-python/recipes-devtools/python/python3-m2crypto_0.38.0.bb b/meta-python/recipes-devtools/python/python3-m2crypto_0.38.0.bb index e0f4870be..e1ee99bae 100644 --- a/meta-python/recipes-devtools/python/python3-m2crypto_0.38.0.bb +++ b/meta-python/recipes-devtools/python/python3-m2crypto_0.38.0.bb | |||
@@ -31,14 +31,14 @@ DISTUTILS_BUILD_ARGS += "build_ext --openssl=${STAGING_EXECPREFIXDIR} -I${STAGIN | |||
31 | DISTUTILS_INSTALL_ARGS += "build_ext --openssl=${STAGING_EXECPREFIXDIR}" | 31 | DISTUTILS_INSTALL_ARGS += "build_ext --openssl=${STAGING_EXECPREFIXDIR}" |
32 | 32 | ||
33 | SWIG_FEATURES:x86 = "-D__i386__" | 33 | SWIG_FEATURES:x86 = "-D__i386__" |
34 | SWIG_FEATURES_x32 = "-D__ILP32__" | 34 | SWIG_FEATURES:x32 = "-D__ILP32__" |
35 | 35 | ||
36 | SWIG_FEATURES ?= "-D__${HOST_ARCH}__ ${@['-D__ILP32__','-D__LP64__'][d.getVar('SITEINFO_BITS') != '32']}" | 36 | SWIG_FEATURES ?= "-D__${HOST_ARCH}__ ${@['-D__ILP32__','-D__LP64__'][d.getVar('SITEINFO_BITS') != '32']}" |
37 | 37 | ||
38 | SWIG_FEATURES:append:riscv64 = " -D__SIZEOF_POINTER__=${SITEINFO_BITS}/8 -D__riscv_xlen=${SITEINFO_BITS}" | 38 | SWIG_FEATURES:append:riscv64 = " -D__SIZEOF_POINTER__=${SITEINFO_BITS}/8 -D__riscv_xlen=${SITEINFO_BITS}" |
39 | SWIG_FEATURES:append:riscv32 = " -D__SIZEOF_POINTER__=${SITEINFO_BITS}/8 -D__riscv_xlen=${SITEINFO_BITS}" | 39 | SWIG_FEATURES:append:riscv32 = " -D__SIZEOF_POINTER__=${SITEINFO_BITS}/8 -D__riscv_xlen=${SITEINFO_BITS}" |
40 | SWIG_FEATURES:append:mipsarch = " -D_MIPS_SZPTR=${SITEINFO_BITS}" | 40 | SWIG_FEATURES:append:mipsarch = " -D_MIPS_SZPTR=${SITEINFO_BITS}" |
41 | SWIG_FEATURES:append:powerpc64le = " -D_:powerpc64__" | 41 | SWIG_FEATURES:append:powerpc64le = " -D__powerpc64__" |
42 | export SWIG_FEATURES | 42 | export SWIG_FEATURES |
43 | 43 | ||
44 | export STAGING_DIR | 44 | export STAGING_DIR |