commit a1b3ecd: [Minor] Remove SunPro support as it is not really supported

Vsevolod Stakhov vsevolod at rspamd.com
Sun Jul 30 20:14:03 UTC 2023


Author: Vsevolod Stakhov
Date: 2023-07-30 21:07:56 +0100
URL: https://github.com/rspamd/rspamd/commit/a1b3ecdccc9003301935e7ed5b54b6117ba14565 (HEAD -> master)

[Minor] Remove SunPro support as it is not really supported

---
 cmake/OSDep.cmake | 10 ----------
 1 file changed, 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)


More information about the Commits mailing list