Title: [286157] trunk/Source/bmalloc
Revision
286157
Author
[email protected]
Date
2021-11-24 22:36:04 -0800 (Wed, 24 Nov 2021)

Log Message

[libpas] Unreviewed, libpas requires libatomic in Linux etc.

* CMakeLists.txt:

Modified Paths

Diff

Modified: trunk/Source/bmalloc/CMakeLists.txt (286156 => 286157)


--- trunk/Source/bmalloc/CMakeLists.txt	2021-11-25 01:39:10 UTC (rev 286156)
+++ trunk/Source/bmalloc/CMakeLists.txt	2021-11-25 06:36:04 UTC (rev 286157)
@@ -639,15 +639,8 @@
     )
 endif ()
 
-if (CMAKE_COMPILER_IS_GNUCXX)
-    set(bmalloc_LIBRARIES
-        ${CMAKE_DL_LIBS}
-        atomic
-    )
-else ()
-    set(bmalloc_LIBRARIES
-        ${CMAKE_DL_LIBS}
-    )
+if (ATOMICS_REQUIRE_LIBATOMIC)
+    list(APPEND bmalloc_LIBRARIES atomic)
 endif ()
 
 set(bmalloc_INTERFACE_LIBRARIES bmalloc)

Modified: trunk/Source/bmalloc/ChangeLog (286156 => 286157)


--- trunk/Source/bmalloc/ChangeLog	2021-11-25 01:39:10 UTC (rev 286156)
+++ trunk/Source/bmalloc/ChangeLog	2021-11-25 06:36:04 UTC (rev 286157)
@@ -1,3 +1,9 @@
+2021-11-24  Yusuke Suzuki  <[email protected]>
+
+        [libpas] Unreviewed, libpas requires libatomic in Linux etc.
+
+        * CMakeLists.txt:
+
 2021-11-19  Yusuke Suzuki  <[email protected]>
 
         [libpas] Unreviewed, build fix for relatively old clang on oss-fuzz
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to