From: Michael Jeanson Date: Mon, 8 May 2017 19:54:56 +0000 (-0400) Subject: Re-add PTHREAD_CFLAGS to global CFLAGS X-Git-Tag: v0.10.0~8 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=cdadd34c8c56a215f51c0175292985558ccb3909;p=userspace-rcu.git Re-add PTHREAD_CFLAGS to global CFLAGS Fixes a build failure on Solaris and maybe other esoteric architectures. Signed-off-by: Michael Jeanson Signed-off-by: Mathieu Desnoyers --- diff --git a/configure.ac b/configure.ac index 5aa3433..753bec5 100644 --- a/configure.ac +++ b/configure.ac @@ -90,6 +90,8 @@ AS_IF([test "x$ax_cv___attribute__" = "xyes"], AX_PTHREAD(,[AC_MSG_ERROR([Could not configure pthreads support])]) +AM_CFLAGS="$AM_CFLAGS $PTHREAD_CFLAGS" + # Checks for library functions. AC_FUNC_MMAP AC_FUNC_FORK