]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
On AIX, always pass -lpthread
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 4 Mar 2004 19:41:19 +0000 (19:41 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 4 Mar 2004 19:41:19 +0000 (19:41 +0000)
git-svn-id: https://svn.dealii.org/trunk@8663 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/aclocal.m4

index f58e8ebfeab3c1a37454f74ed1c9856ec157dc7c..d2c8e9837d98aeee613fb4e88ef3264227ad3629 100644 (file)
@@ -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"
        ;;
 
       *)

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.