[cmake-commits] hoffman committed SunOS.cmake 1.20 1.21

cmake-commits at cmake.org cmake-commits at cmake.org
Tue Jan 15 14:19:35 EST 2008


Update of /cvsroot/CMake/CMake/Modules/Platform
In directory public:/mounts/ram/cvs-serv25680

Modified Files:
	SunOS.cmake 
Log Message:
BUG: fix for bug 6231, bad regex for sunos, worked by chance, but better to have it right


Index: SunOS.cmake
===================================================================
RCS file: /cvsroot/CMake/CMake/Modules/Platform/SunOS.cmake,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -d -r1.20 -r1.21
--- SunOS.cmake	16 Sep 2006 15:47:21 -0000	1.20
+++ SunOS.cmake	15 Jan 2008 19:19:32 -0000	1.21
@@ -7,7 +7,7 @@
    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 @@
     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)



More information about the Cmake-commits mailing list