Commit 1c3997a5 authored by Lorenz Huedepohl's avatar Lorenz Huedepohl

Use actual compiler to link

Sometimes the compiler is used with the manual_cpp wrapper, do not
invoke this for linking
parent 6bb59888
......@@ -5,6 +5,8 @@ ACLOCAL_AMFLAGS = ${ACLOCAL_FLAGS} -I m4
AM_FCFLAGS = $(SCALAPACK_FCFLAGS) @FC_MODINC@modules
AM_LDFLAGS = $(SCALAPACK_LDFLAGS)
FCLD = @ACTUAL_FC@
# libelpa
# parts with public interface
......
......@@ -1291,6 +1291,8 @@ AC_MSG_CHECKING([if workaround for broken preprocessor is needed])
need_manual_cpp=no
AX_FC_CHECK_DEFINE([__INTEL_COMPILER],[need_manual_cpp=yes],[])
AX_FC_CHECK_DEFINE([__PGI],[need_manual_cpp=yes],[])
ACTUAL_FC="$FC"
AC_SUBST([ACTUAL_FC])
if test x"$need_manual_cpp" = x"yes" ; then
AC_MSG_RESULT([yes])
FC="\$(top_srcdir)/manual_cpp $FC"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment