[oe-commits] [meta-openembedded] 13/13: python-m2crypto: Add STDC_HOSTED to grep regexp
git at git.openembedded.org
git at git.openembedded.org
Mon Sep 3 05:52:14 UTC 2018
This is an automated email from the git hooks/post-receive script.
khem pushed a commit to branch master-next
in repository meta-openembedded.
commit 35952eda3f73ad2937b1ee3243b1e189d6def1f6
Author: Khem Raj <raj.khem at gmail.com>
AuthorDate: Sat Sep 1 01:42:03 2018 -0700
python-m2crypto: Add STDC_HOSTED to grep regexp
Signed-off-by: Khem Raj <raj.khem at gmail.com>
---
meta-python/recipes-devtools/python/python-m2crypto.inc | 5 +++--
1 file 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 d0eaa81..da71487 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
# multilib header file exists.
#
do_configure_prepend() {
- ${CPP} -dM - < /dev/null | grep -v __STDC__ | grep -v __REGISTER_PREFIX__ | grep -v __GNUC__ \
- | sed 's/^\(#define \([^ ]*\) .*\)$/#undef \2\n\1/' > SWIG/gcc_macros.h
+ ${CPP} -dM - < /dev/null | grep -v '__\(STDC\|REGISTER_PREFIX\|GNUC\|STDC_HOSTED\)__' \
+ | sed 's/^\(#define \([^ ]*\) .*\)$/#undef \2\n\1/' > SWIG/gcc_macros.h
+
if [ "${SITEINFO_BITS}" = "64" ];then
bit="64"
else
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Openembedded-commits
mailing list