summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2016-08-10 15:15:53 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2016-08-10 15:15:53 (GMT)
commit627ffb4bd768609019014828d7480c22997cda0c (patch)
tree05b3a74ce310926eed0f8e0a7475423302ee32d8
parentf4cec30b5326804b7c82c09dad85e78ce8fa3b32 (diff)
parente9c984267e5539b798a2b1af8431e5715f261cfd (diff)
downloadCMake-627ffb4bd768609019014828d7480c22997cda0c.zip
CMake-627ffb4bd768609019014828d7480c22997cda0c.tar.gz
CMake-627ffb4bd768609019014828d7480c22997cda0c.tar.bz2
Merge topic 'NAG-Fortran-no-fPIE'
e9c98426 NAG: Use -PIC for Fortran position-independent executable code
-rw-r--r--Modules/Compiler/NAG-Fortran.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/Compiler/NAG-Fortran.cmake b/Modules/Compiler/NAG-Fortran.cmake
index 18f141e..39aae18 100644
--- a/Modules/Compiler/NAG-Fortran.cmake
+++ b/Modules/Compiler/NAG-Fortran.cmake
@@ -33,3 +33,4 @@ set(CMAKE_SHARED_LIBRARY_Fortran_FLAGS "-PIC")
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")