From: wolf Date: Sat, 20 Sep 2003 00:22:34 +0000 (+0000) Subject: Instruct xlf to use underscores after names for f77 functions. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e05dcf88cf4741803d4bcfcac043147eea60742d;p=dealii-svn.git Instruct xlf to use underscores after names for f77 functions. git-svn-id: https://svn.dealii.org/trunk@7997 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/aclocal.m4 b/deal.II/aclocal.m4 index b571f9e6c2..6cde95ec6f 100644 --- a/deal.II/aclocal.m4 +++ b/deal.II/aclocal.m4 @@ -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!"