Force linking with libatomic.
authorPeter Michael Green <plugwash@raspbian.org>
Fri, 22 Dec 2023 07:01:10 +0000 (07:01 +0000)
committerPeter Michael Green <plugwash@raspbian.org>
Fri, 22 Dec 2023 07:01:10 +0000 (07:01 +0000)
Gbp-Pq: Name force-libatomic.patch

source/libraries/mimalloc/CMakeLists.txt

index 2bcd1ef76b078cd35e0ced98acdf01580b82fdcf..686a9da5d86ee0319b41b558ff714b100680d59c 100644 (file)
@@ -31,7 +31,7 @@ option(MI_NO_PADDING        "Force no use of padding even in DEBUG mode etc." OF
 # deprecated options
 option(MI_CHECK_FULL        "Use full internal invariant checking in DEBUG mode (deprecated, use MI_DEBUG_FULL instead)" OFF)
 option(MI_INSTALL_TOPLEVEL  "Install directly into $CMAKE_INSTALL_PREFIX instead of PREFIX/lib/mimalloc-version (deprecated)" OFF)
-option(MI_USE_LIBATOMIC     "Explicitly link with -latomic (on older systems) (deprecated and detected automatically)" OFF)
+option(MI_USE_LIBATOMIC     "Explicitly link with -latomic (on older systems) (deprecated and detected automatically)" ON)
 
 include(CheckIncludeFiles)
 include(GNUInstallDirs)