This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "".
The branch, master has been updated via 31b17c87d784fc841d310b03462f0d02dac35eac (commit) from e7a14391d9375aab1f9f6ec8d16de9ff29f51956 (commit)
Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below.
- Log ----------------------------------------------------------------- commit 31b17c87d784fc841d310b03462f0d02dac35eac Author: Dmitry Eremin-Solenikov deremin-solenikov@cavium.com Date: Wed Mar 13 20:21:45 2019 +0300
m4: fix ODP_PTHREAD definition
AC_SUBST PTHREAD_CFLAGS/_LIBS variables inside ODP_PTHREAD macro definition, so they get properly substituted when compiling.
Signed-off-by: Dmitry Eremin-Solenikov deremin-solenikov@cavium.com Reviewed-by: Matias Elo matias.elo@nokia.com
diff --git a/m4/odp_pthread.m4 b/m4/odp_pthread.m4 index 0e3485e37..ad65f4d1a 100644 --- a/m4/odp_pthread.m4 +++ b/m4/odp_pthread.m4 @@ -11,7 +11,7 @@ AC_DEFUN([ODP_PTHREAD], [ AC_LANG_PUSH([C]) PTHEAD_CFLAGS="-pthread" CFLAGS="$CFLAGS $PTHEAD_CFLAGS" - PTHEAD_LIBS="-pthread" + PTHREAD_LIBS="-pthread" LDFLAGS="$LDFLAGS $PTHREAD_LIBS" AC_TRY_LINK_FUNC([pthread_create], [pthread=yes]) if test x"$pthread" != "xyes"; then @@ -19,6 +19,6 @@ AC_DEFUN([ODP_PTHREAD], [ fi AC_MSG_RESULT([yes]) AC_LANG_POP([C]) + AC_SUBST([PTHREAD_LIBS]) + AC_SUBST([PTHREAD_CFLAGS]) ]) -AC_SUBST([PTHREAD_LIBS]) -AC_SUBST([PTHREAD_CFLAGS])
-----------------------------------------------------------------------
Summary of changes: m4/odp_pthread.m4 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
hooks/post-receive