Commit e4eed2ab authored by vijaysm's avatar vijaysm
Browse files

Add the fortran libraries so that the name mangling linkage can be computed...

Add the fortran libraries so that the name mangling linkage can be computed cleanly. Currently fails with many GNU builds on buildbot. This change fixes the issues.
parent ab11fa41
......@@ -175,7 +175,7 @@ AC_ARG_ENABLE( optimize, AS_HELP_STRING([--enable-optimize],[Compile optimized (
if (test "x$enable_debug" != "xno"); then # debug flags
# GNU
EXTRA_GNU_CXXFLAGS="-Wall -Wno-long-long -pipe -pedantic -Wshadow -Wunused-parameter -Wpointer-arith -Wformat -Wformat-security -Wextra -Wno-variadic-macros -Wno-unknown-pragmas"
EXTRA_GNU_FCFLAGS="-fcheck=all -pipe -pedantic -Wextra -ffree-line-length-0"
EXTRA_GNU_FCFLAGS="-fcheck=all -pipe -pedantic -ffree-line-length-0"
# Intel
EXTRA_INTEL_CXXFLAGS="-pipe -C"
EXTRA_INTEL_FCFLAGS="-C"
......@@ -484,7 +484,7 @@ AC_CACHE_CHECK([for Fortran name-mangling scheme],
[mv conftest.$ac_objext cfortran_test.$ac_objext
ac_save_LIBS=$LIBS
LIBS="cfortran_test.$ac_objext $LIBS $[]_AC_LANG_PREFIX[]LIBS"
LIBS="cfortran_test.$ac_objext $LIBS $[]_AC_LANG_PREFIX[]LIBS $ac_cv_fc_libs"
AC_LANG_PUSH(C)dnl
ac_success=no
......
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