]> granicus.if.org Git - gc/commitdiff
Fix OSF1 host pattern in CMakeLists.txt
authorIvan Maidanski <ivmai@mail.ru>
Thu, 4 May 2017 21:49:53 +0000 (00:49 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Thu, 4 May 2017 21:49:53 +0000 (00:49 +0300)
* CMakeLists.txt [CMAKE_USE_PTHREADS_INIT && osf]: Replace ".*-.*-osf*"
pattern ".*-.*-osf.*" (a missing "." before "*" is added).

CMakeLists.txt

index 82a9bb29063c6f8a9ac6a1534cedf266cb0ba806..a4fda356d0b11579c3db1e4bc5950da1fc0514a4 100644 (file)
@@ -201,7 +201,7 @@ IF(CMAKE_USE_PTHREADS_INIT)
                 #TODO
                 #darwin_threads=true
         ENDIF()
-        IF ( HOST MATCHES .*-.*-osf*)
+        IF ( HOST MATCHES .*-.*-osf.*)
                 ADD_DEFINITIONS("-DGC_OSF1_THREADS")
                 IF(enable_parallel_mark)
                         ADD_DEFINITIONS("-DPARALLEL_MARK")