From a1b3ecdccc9003301935e7ed5b54b6117ba14565 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Sun, 30 Jul 2023 21:07:56 +0100 Subject: [PATCH] [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) -- 2.39.5