[lttng-dev] [PATCH urcu] Re-add PTHREAD_CFLAGS to global CFLAGS

Michael Jeanson mjeanson at efficios.com
Mon May 8 19:54:56 UTC 2017


Fixes a build failure on Solaris and maybe other esoteric architectures.

Signed-off-by: Michael Jeanson <mjeanson at efficios.com>
---
 configure.ac | 2 ++
 1 file changed, 2 insertions(+)

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
-- 
2.7.4



More information about the lttng-dev mailing list