summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2008-01-15 19:19:32 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2008-01-15 19:19:32 (GMT)
commitc598da4328d51a3b287d7fd42dc8b0a44ee9d85f (patch)
tree514165b265da0a484b6775ee5eba8daf86e67664
parenta7e1031efed8f95b58dc25e92bd5c977063da31e (diff)
downloadCMake-c598da4328d51a3b287d7fd42dc8b0a44ee9d85f.zip
CMake-c598da4328d51a3b287d7fd42dc8b0a44ee9d85f.tar.gz
CMake-c598da4328d51a3b287d7fd42dc8b0a44ee9d85f.tar.bz2
BUG: fix for bug 6231, bad regex for sunos, worked by chance, but better to have it right
-rw-r--r--Modules/Platform/SunOS.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/Platform/SunOS.cmake b/Modules/Platform/SunOS.cmake
index aa1e933..85e3d38 100644
--- a/Modules/Platform/SunOS.cmake
+++ b/Modules/Platform/SunOS.cmake
@@ -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)