summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python-m2crypto.inc
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2018-09-01 01:42:03 -0700
committerKhem Raj <raj.khem@gmail.com>2018-09-01 01:42:03 -0700
commit35952eda3f73ad2937b1ee3243b1e189d6def1f6 (patch)
tree1f4ec869fdd1c03e63ff77a27674eba3b9a244e4 /meta-python/recipes-devtools/python/python-m2crypto.inc
parent28d225b58148a3f90fe90ffb6ba9122e824d49e7 (diff)
downloadmeta-openembedded-35952eda3f73ad2937b1ee3243b1e189d6def1f6.tar.gz
python-m2crypto: Add STDC_HOSTED to grep regexp
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python-m2crypto.inc')
-rw-r--r--meta-python/recipes-devtools/python/python-m2crypto.inc5
1 files changed, 3 insertions, 2 deletions
diff --git a/meta-python/recipes-devtools/python/python-m2crypto.inc b/meta-python/recipes-devtools/python/python-m2crypto.inc
index d0eaa819b..da714874a 100644
--- a/meta-python/recipes-devtools/python/python-m2crypto.inc
+++ b/meta-python/recipes-devtools/python/python-m2crypto.inc
@@ -30,8 +30,9 @@ export SWIG_FEATURES
30# multilib header file exists. 30# multilib header file exists.
31# 31#
32do_configure_prepend() { 32do_configure_prepend() {
33 ${CPP} -dM - < /dev/null | grep -v __STDC__ | grep -v __REGISTER_PREFIX__ | grep -v __GNUC__ \ 33 ${CPP} -dM - < /dev/null | grep -v '__\(STDC\|REGISTER_PREFIX\|GNUC\|STDC_HOSTED\)__' \
34 | sed 's/^\(#define \([^ ]*\) .*\)$/#undef \2\n\1/' > SWIG/gcc_macros.h 34 | sed 's/^\(#define \([^ ]*\) .*\)$/#undef \2\n\1/' > SWIG/gcc_macros.h
35
35 if [ "${SITEINFO_BITS}" = "64" ];then 36 if [ "${SITEINFO_BITS}" = "64" ];then
36 bit="64" 37 bit="64"
37 else 38 else