diff options
author | Brad King <brad.king@kitware.com> | 2018-08-01 17:28:25 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2018-08-01 17:28:45 (GMT) |
commit | 10d6c3a635fbcf84871dce3351156890ce566d1c (patch) | |
tree | 850cef37682e0343fbf4225628243f3d7c95b2f6 /Modules | |
parent | f0e82ce9a2f50e7ce0b9b95dcf32e47ce9a08369 (diff) | |
download | CMake-10d6c3a635fbcf84871dce3351156890ce566d1c.zip CMake-10d6c3a635fbcf84871dce3351156890ce566d1c.tar.gz CMake-10d6c3a635fbcf84871dce3351156890ce566d1c.tar.bz2 |
NAG: Pass response files through front-end to the linker
The `nagfor` compiler front-end does not support the `@rspfile` syntax.
Use `-Wl,@rspfile` instead to pass it through to the linker.
Fixes: #18232
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/Compiler/NAG-Fortran.cmake | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/Compiler/NAG-Fortran.cmake b/Modules/Compiler/NAG-Fortran.cmake index 39aae18..9973feb 100644 --- a/Modules/Compiler/NAG-Fortran.cmake +++ b/Modules/Compiler/NAG-Fortran.cmake @@ -34,3 +34,4 @@ set(CMAKE_Fortran_FORMAT_FIXED_FLAG "-fixed") set(CMAKE_Fortran_FORMAT_FREE_FLAG "-free") set(CMAKE_Fortran_COMPILE_OPTIONS_PIC "-PIC") set(CMAKE_Fortran_COMPILE_OPTIONS_PIE "-PIC") +set(CMAKE_Fortran_RESPONSE_FILE_LINK_FLAG "-Wl,@") |