SunPro: Add position independent code flag for Fortran compiler
This commit is contained in:
parent
c95e523db8
commit
3556fb1b81
|
@ -2,6 +2,7 @@ set(CMAKE_Fortran_VERBOSE_FLAG "-v")
|
||||||
set(CMAKE_Fortran_FORMAT_FIXED_FLAG "-fixed")
|
set(CMAKE_Fortran_FORMAT_FIXED_FLAG "-fixed")
|
||||||
set(CMAKE_Fortran_FORMAT_FREE_FLAG "-free")
|
set(CMAKE_Fortran_FORMAT_FREE_FLAG "-free")
|
||||||
|
|
||||||
|
set(CMAKE_Fortran_COMPILE_OPTIONS_PIC "-KPIC")
|
||||||
set(CMAKE_SHARED_LIBRARY_Fortran_FLAGS "-KPIC")
|
set(CMAKE_SHARED_LIBRARY_Fortran_FLAGS "-KPIC")
|
||||||
set(CMAKE_SHARED_LIBRARY_CREATE_Fortran_FLAGS "-G")
|
set(CMAKE_SHARED_LIBRARY_CREATE_Fortran_FLAGS "-G")
|
||||||
set(CMAKE_SHARED_LIBRARY_RUNTIME_Fortran_FLAG "-R")
|
set(CMAKE_SHARED_LIBRARY_RUNTIME_Fortran_FLAG "-R")
|
||||||
|
|
Loading…
Reference in New Issue