diff options
Diffstat (limited to 'Modules/Platform/SunOS.cmake')
-rw-r--r-- | Modules/Platform/SunOS.cmake | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Modules/Platform/SunOS.cmake b/Modules/Platform/SunOS.cmake index e19e89a..78eccf7 100644 --- a/Modules/Platform/SunOS.cmake +++ b/Modules/Platform/SunOS.cmake @@ -1,10 +1,10 @@ if(CMAKE_SYSTEM MATCHES "SunOS-4") - set(CMAKE_C_COMPILE_OPTIONS_PIC "-PIC") - set(CMAKE_C_COMPILE_OPTIONS_PIE "-PIE") - set(CMAKE_SHARED_LIBRARY_C_FLAGS "-PIC") - set(CMAKE_SHARED_LIBRARY_CREATE_C_FLAGS "-shared -Wl,-r") - set(CMAKE_SHARED_LIBRARY_RUNTIME_C_FLAG "-Wl,-R") - set(CMAKE_SHARED_LIBRARY_RUNTIME_C_FLAG_SEP ":") + set(CMAKE_C_COMPILE_OPTIONS_PIC "-PIC") + set(CMAKE_C_COMPILE_OPTIONS_PIE "-PIE") + set(CMAKE_SHARED_LIBRARY_C_FLAGS "-PIC") + set(CMAKE_SHARED_LIBRARY_CREATE_C_FLAGS "-shared -Wl,-r") + set(CMAKE_SHARED_LIBRARY_RUNTIME_C_FLAG "-Wl,-R") + set(CMAKE_SHARED_LIBRARY_RUNTIME_C_FLAG_SEP ":") endif() include(Platform/UnixPaths) |