From e05dcf88cf4741803d4bcfcac043147eea60742d Mon Sep 17 00:00:00 2001 From: wolf Date: Sat, 20 Sep 2003 00:22:34 +0000 Subject: [PATCH] Instruct xlf to use underscores after names for f77 functions. git-svn-id: https://svn.dealii.org/trunk@7997 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/aclocal.m4 | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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!" -- 2.39.5