aports/main/mpdecimal/10-pthreads.patch
2021-02-10 23:09:07 +00:00

33 lines
928 B
Diff

--- a-mpdecimal-2.5.1/tests++/runshort.sh
+++ b-mpdecimal-2.5.1/tests++/runshort.sh
@@ -12,9 +12,11 @@
export MallocLogFile=/dev/null
export MallocDebugReport=crash
;;
- AIX)
+ AIX|Linux)
# The thread stack size on AIX (96K) makes std::thread unusable
# for runtest.cc, which needs around 300K.
+ #
+ # The same applies to Alpine Linux (musl).
THREAD="--pthread"
;;
*)
--- a-mpdecimal-2.5.1/tests++/runshort_alloc.sh
+++ b-mpdecimal-2.5.1/tests++/runshort_alloc.sh
@@ -12,9 +12,11 @@
export MallocLogFile=/dev/null
export MallocDebugReport=crash
;;
- AIX)
+ AIX|Linux)
# The thread stack size on AIX (96K) makes std::thread unusable
# for runtest.cc, which needs around 300K.
+ #
+ # The same applies to Alpine Linux (musl).
THREAD="--pthread"
;;
*)