Skip to content
Snippets Groups Projects
Commit 2a5955ac authored by Brad King's avatar Brad King
Browse files

Intel: Replace deprecated Fortran flag -nofor_main with -nofor-main

The `-nofor_main` flag was originally added by commit ccdd3e94 (Fix
Intel Fortran SHARED libraries on Linux, 2009-10-27, v2.8.2~915).  Since
then, Intel Fortran renamed the option to `-nofor-main` and deprecated
the old name.  The new name has been available for a long time, so
we can just switch to it.

Fixes: #21735
parent 0df1fd9d
No related branches found
No related tags found
No related merge requests found
include(Platform/Linux-Intel)
__linux_compiler_intel(Fortran)
string(APPEND CMAKE_SHARED_LIBRARY_CREATE_Fortran_FLAGS " -nofor_main")
string(APPEND CMAKE_SHARED_LIBRARY_CREATE_Fortran_FLAGS " -nofor-main")
set(CMAKE_SHARED_LIBRARY_LINK_Fortran_FLAGS "")
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment