Commit 77db2516 authored by Kenneth Raffenetti's avatar Kenneth Raffenetti
Browse files

add FCMODOUTFLAG to FC_COMPILE_MODS



Adding FCMODOUTFLAG directly to AM_FCFLAGS could cause conflicts with
certain libtool flags (-module) during linking. This change allows us
to set FCMODOUTFLAG during module creation, but not have it present
during linking. Refs #2024
Signed-off-by: default avatarJunchao Zhang <jczhang@mcs.anl.gov>
parent b14397f7
......@@ -950,7 +950,7 @@ nodist_noinst_HEADERS += \\
# cause any .\$(MOD) files to be output in the f90 bindings directory instead of
# the current directory
AM_FCFLAGS += \$(FCMODOUTFLAG)src/binding/fortran/use_mpi
FC_COMPILE_MODS += \$(FCMODOUTFLAG)src/binding/fortran/use_mpi
mpi_fc_sources += \\
src/binding/fortran/use_mpi/typef90cmplxf.c \\
......
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