Skip to content

Commit 856dacc

Browse files
faithfracture#65 use spinlock
1 parent b4a0bd8 commit 856dacc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

boost.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1646,7 +1646,7 @@ EXTRA_FLAGS="-fembed-bitcode -Wno-unused-local-typedef -Wno-nullability-complete
16461646
# Note these flags (BOOST_AC_USE_PTHREADS and BOOST_SP_USE_PTHREADS) should
16471647
# only be defined for arm targets. They will cause random (but repeatable)
16481648
# shared_ptr crashes on macOS in boost thread destructors.
1649-
EXTRA_ARM_FLAGS="-DBOOST_AC_USE_PTHREADS -DBOOST_SP_USE_PTHREADS -g -DNDEBUG"
1649+
EXTRA_ARM_FLAGS="-DBOOST_SP_USE_SPINLOCK -g -DNDEBUG"
16501650

16511651
EXTRA_IOS_FLAGS="$EXTRA_FLAGS $EXTRA_ARM_FLAGS -mios-version-min=$MIN_IOS_VERSION"
16521652
EXTRA_IOS_SIM_FLAGS="$EXTRA_FLAGS $EXTRA_ARM_FLAGS -mios-simulator-version-min=$MIN_IOS_VERSION"

0 commit comments

Comments
 (0)