Skip to content

Commit

Permalink
[Minor] Remove SunPro support as it is not really supported
Browse files Browse the repository at this point in the history
  • Loading branch information
vstakhov committed Jul 30, 2023
1 parent 6b9de32 commit a1b3ecd
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions cmake/OSDep.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit a1b3ecd

Please sign in to comment.