diff options
author | Vsevolod Stakhov <vsevolod@rspamd.com> | 2023-07-30 21:07:56 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rspamd.com> | 2023-07-30 21:07:56 +0100 |
commit | a1b3ecdccc9003301935e7ed5b54b6117ba14565 (patch) | |
tree | 3b2cf8889ea6d08911d70b27273296087d016fb8 /cmake | |
parent | 6b9de326f42df571f815a8887382fd6f32ef6867 (diff) | |
download | rspamd-a1b3ecdccc9003301935e7ed5b54b6117ba14565.tar.gz rspamd-a1b3ecdccc9003301935e7ed5b54b6117ba14565.zip |
[Minor] Remove SunPro support as it is not really supported
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/OSDep.cmake | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/cmake/OSDep.cmake b/cmake/OSDep.cmake index 65672afc2..78f6549cd 100644 --- a/cmake/OSDep.cmake +++ b/cmake/OSDep.cmake @@ -51,16 +51,6 @@ IF(CMAKE_SYSTEM_NAME STREQUAL "Linux") ENDIF(CMAKE_SYSTEM_NAME STREQUAL "Linux") IF(CMAKE_SYSTEM_NAME STREQUAL "SunOS") - - IF("${CMAKE_C_COMPILER_ID}" MATCHES SunPro) - SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Xa -xregs=no%frameptr -xstrconst -xc99") - IF(ENABLE_OPTIMIZATION MATCHES "ON") - SET(CMAKE_C_OPT_FLAGS "-fast -xdepend") - ELSE(ENABLE_OPTIMIZATION MATCHES "ON") - SET(CMAKE_C_OPT_FLAGS "-xO0") - ENDIF(ENABLE_OPTIMIZATION MATCHES "ON") - ENDIF("${CMAKE_C_COMPILER_ID}" MATCHES SunPro) - ADD_COMPILE_OPTIONS(-D__EXTENSIONS__ -DSOLARIS -D_POSIX_SOURCE -D_POSIX_C_SOURCE=200112) LIST(APPEND CMAKE_REQUIRED_LIBRARIES rt) LIST(APPEND CMAKE_REQUIRED_LIBRARIES dl) |