Skip to content

Commit f6f2acc

Browse files
faithfracture#65 use spinlock
1 parent 7f6ffcb commit f6f2acc

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
@@ -1594,7 +1594,7 @@ EXTRA_FLAGS="-fembed-bitcode -Wno-unused-local-typedef -Wno-nullability-complete
15941594
# Note these flags (BOOST_AC_USE_PTHREADS and BOOST_SP_USE_PTHREADS) should
15951595
# only be defined for arm targets. They will cause random (but repeatable)
15961596
# shared_ptr crashes on macOS in boost thread destructors.
1597-
EXTRA_ARM_FLAGS="-DBOOST_AC_USE_PTHREADS -DBOOST_SP_USE_PTHREADS -g -DNDEBUG"
1597+
EXTRA_ARM_FLAGS="-DBOOST_SP_USE_SPINLOCK -g -DNDEBUG"
15981598

15991599
EXTRA_IOS_FLAGS="$EXTRA_FLAGS $EXTRA_ARM_FLAGS -mios-version-min=$MIN_IOS_VERSION"
16001600
EXTRA_IOS_SIM_FLAGS="$EXTRA_FLAGS $EXTRA_ARM_FLAGS -mios-simulator-version-min=$MIN_IOS_VERSION"

0 commit comments

Comments
 (0)