Skip to content

Commit

Permalink
CMakeLists.txt: update comment re Boost and atomics on PPC
Browse files Browse the repository at this point in the history
  • Loading branch information
barracuda156 authored and r4sas committed Feb 15, 2023
1 parent 385e592 commit 00c75a7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions build/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,7 @@ endif()

# Use std::atomic instead of GCC builtins on macOS PowerPC:
# For more information refer to: https://github.com/PurpleI2P/i2pd/issues/1726#issuecomment-1306335111
# This has been fixed in Boost 1.81, nevertheless we retain the setting for the sake of compatibility.
if(APPLE AND CMAKE_OSX_ARCHITECTURES MATCHES "ppc")
add_definitions(-DBOOST_SP_USE_STD_ATOMIC)
endif()
Expand Down

0 comments on commit 00c75a7

Please sign in to comment.