Title: [285880] trunk/Source/bmalloc
Revision
285880
Author
[email protected]
Date
2021-11-16 12:55:51 -0800 (Tue, 16 Nov 2021)

Log Message

Unreviewed, -latomic is only available for GCC
https://bugs.webkit.org/show_bug.cgi?id=233097

* CMakeLists.txt:

Modified Paths

Diff

Modified: trunk/Source/bmalloc/CMakeLists.txt (285879 => 285880)


--- trunk/Source/bmalloc/CMakeLists.txt	2021-11-16 20:24:15 UTC (rev 285879)
+++ trunk/Source/bmalloc/CMakeLists.txt	2021-11-16 20:55:51 UTC (rev 285880)
@@ -639,10 +639,16 @@
     )
 endif ()
 
-set(bmalloc_LIBRARIES
-    ${CMAKE_DL_LIBS}
-    atomic
-)
+if (CMAKE_COMPILER_IS_GNUCXX)
+    set(bmalloc_LIBRARIES
+        ${CMAKE_DL_LIBS}
+        atomic
+    )
+else ()
+    set(bmalloc_LIBRARIES
+        ${CMAKE_DL_LIBS}
+    )
+endif ()
 
 set(bmalloc_INTERFACE_LIBRARIES bmalloc)
 set(bmalloc_INTERFACE_INCLUDE_DIRECTORIES ${bmalloc_FRAMEWORK_HEADERS_DIR})

Modified: trunk/Source/bmalloc/ChangeLog (285879 => 285880)


--- trunk/Source/bmalloc/ChangeLog	2021-11-16 20:24:15 UTC (rev 285879)
+++ trunk/Source/bmalloc/ChangeLog	2021-11-16 20:55:51 UTC (rev 285880)
@@ -1,3 +1,10 @@
+2021-11-16  Yusuke Suzuki  <[email protected]>
+
+        Unreviewed, -latomic is only available for GCC
+        https://bugs.webkit.org/show_bug.cgi?id=233097
+
+        * CMakeLists.txt:
+
 2021-11-15  Yusuke Suzuki  <[email protected]>
 
         [libpas] Build and enable libpas on 64bit JSCOnly
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to