From f43defaec4e8610e90886a831dcc0a15fdeea1cb Mon Sep 17 00:00:00 2001 From: Brad King Date: Tue, 16 Jun 2015 13:55:42 -0400 Subject: [PATCH] GNU: Drop -rdynamic flag from Fortran The GNU Fortran compiler does not document support for this flag as the GNU C and C++ compilers do. --- Modules/Platform/Linux-GNU-Fortran.cmake | 1 + 1 file changed, 1 insertion(+) diff --git a/Modules/Platform/Linux-GNU-Fortran.cmake b/Modules/Platform/Linux-GNU-Fortran.cmake index 68e95404b..85e12265a 100644 --- a/Modules/Platform/Linux-GNU-Fortran.cmake +++ b/Modules/Platform/Linux-GNU-Fortran.cmake @@ -1,2 +1,3 @@ include(Platform/Linux-GNU) __linux_compiler_gnu(Fortran) +set(CMAKE_SHARED_LIBRARY_LINK_Fortran_FLAGS "")