]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Instruct xlf to use underscores after names for f77 functions.
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Sat, 20 Sep 2003 00:22:34 +0000 (00:22 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Sat, 20 Sep 2003 00:22:34 +0000 (00:22 +0000)
git-svn-id: https://svn.dealii.org/trunk@7997 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/aclocal.m4

index b571f9e6c2f5bc8c70a0b9826d5a55e31689df81..6cde95ec6fb2a8cf498b982df50a4f766ef086ba 100644 (file)
@@ -805,8 +805,11 @@ AC_DEFUN(DEAL_II_SET_F77_FLAGS, dnl
        ;;
 
     AIXF77)
-        F77FLAGSG="$FFLAGS -g"
-        F77FLAGSO="$FFLAGS -O3 -w"
+       dnl Set flags for AIX's xlf compiler. -qextname instructs the compiler
+       dnl to append an underscore to external function names, which is what
+       dnl we expect when linking to the HSL functions
+        F77FLAGSG="$FFLAGS -g -qextname"
+        F77FLAGSO="$FFLAGS -O3 -w -qextname"
         F77LIBS="$F77LIBS -lxlf90"  
 
         F77FLAGSPIC="unknown!"

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.