From 38249c3b2d277847e884191087d84b51f56c809c Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Thu, 4 Mar 2004 19:41:19 +0000 Subject: [PATCH] On AIX, always pass -lpthread git-svn-id: https://svn.dealii.org/trunk@8663 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/aclocal.m4 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/deal.II/aclocal.m4 b/deal.II/aclocal.m4 index f58e8ebfea..d2c8e9837d 100644 --- a/deal.II/aclocal.m4 +++ b/deal.II/aclocal.m4 @@ -271,11 +271,13 @@ AC_DEFUN(DEAL_II_SET_CXX_FLAGS, dnl CXXFLAGSG="$CXXFLAGSG -Wno-long-long" dnl Set PIC flags. On some systems, -fpic/PIC is implied, so don't set - dnl anything to avoid a warning + dnl anything to avoid a warning. on AIX make sure we always pass -lpthread + dnl because this seems to be somehow required to make things work case "$target" in *aix* ) CXXFLAGSPIC= LDFLAGSPIC= + LDFLAGS="$LDFLAGS -lpthread" ;; *) -- 2.39.5