From 1b41ebf2d1349aa21a69d44b610e9379c93f01ab Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Sat, 23 Feb 2019 11:03:38 +0100 Subject: [PATCH] mpi_link disable using mpicc --showme:link link flags: they bring unnecessary rpath. disable using mpicc --showme:link link flags: they bring unnecessary rpath. Gbp-Pq: Name mpi_link --- configure.ac | 6 ------ 1 file changed, 6 deletions(-) diff --git a/configure.ac b/configure.ac index 0dcf356..3de5ea0 100644 --- a/configure.ac +++ b/configure.ac @@ -1991,12 +1991,6 @@ AC_MSG_RESULT($mpicc_path) AC_SUBST(MPICC, $mpicc_path) if test x$use_mpi = xyes; then cc_or_mpicc=$mpicc_path - # For some reason, libtool uses gcc instead of mpicc when linking - # libstarpumpi. - # On Darwin (and maybe other systems ?) the linker will fail (undefined - # references to MPI_*). We manually add the required flags to fix this - # issue. - AC_SUBST(MPICC_LDFLAGS, `$mpicc_path --showme:link`) else cc_or_mpicc=$CC fi -- 2.30.2