BUG: fix for bug 6231, bad regex for sunos, worked by chance, but better to have it right
This commit is contained in:
parent
a7e1031efe
commit
c598da4328
|
@ -7,7 +7,7 @@ IF(CMAKE_SYSTEM MATCHES "SunOS-4.*")
|
|||
SET(CMAKE_SHARED_LIBRARY_SONAME_CXX_FLAG "-h")
|
||||
ENDIF(CMAKE_SYSTEM MATCHES "SunOS-4.*")
|
||||
|
||||
IF(CMAKE_SYSTEM MATCHES "SunOS-5*.")
|
||||
IF(CMAKE_SYSTEM MATCHES "SunOS-5.*")
|
||||
SET(CMAKE_SHARED_LIBRARY_C_FLAGS "-KPIC")
|
||||
SET(CMAKE_SHARED_LIBRARY_CREATE_C_FLAGS "-G")
|
||||
SET(CMAKE_SHARED_LIBRARY_RUNTIME_C_FLAG "-R")
|
||||
|
@ -44,7 +44,7 @@ IF(CMAKE_SYSTEM MATCHES "SunOS-5*.")
|
|||
SET (CMAKE_CXX_FLAGS_RELEASE_INIT "-xO2 -DNDEBUG")
|
||||
SET (CMAKE_CXX_FLAGS_RELWITHDEBINFO_INIT "-xO2")
|
||||
ENDIF(CMAKE_COMPILER_IS_GNUCXX)
|
||||
ENDIF(CMAKE_SYSTEM MATCHES "SunOS-5*.")
|
||||
ENDIF(CMAKE_SYSTEM MATCHES "SunOS-5.*")
|
||||
|
||||
IF(CMAKE_COMPILER_IS_GNUCXX)
|
||||
IF(CMAKE_COMPILER_IS_GNUCC)
|
||||
|
|
Loading…
Reference in New Issue