Merge topic 'NAG-Fortran-no-fPIE'

e9c98426 NAG: Use -PIC for Fortran position-independent executable code
This commit is contained in:
Brad King 2016-08-10 11:15:53 -04:00 committed by CMake Topic Stage
commit 627ffb4bd7
1 changed files with 1 additions and 0 deletions

View File

@ -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")