aboutsummaryrefslogtreecommitdiffstats
path: root/cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake')
-rw-r--r--cmake/OSDep.cmake10
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)