mirror of
https://git.freebsd.org/ports.git
synced 2025-05-04 23:47:37 -04:00
- Use '-pthread' for Clang. Clang supports '-pthread' on all BSDs except for Darwin. [1] Reported by: Achilleas Mantzios <achill@matrix.gatewaynet.com> [1] Tested by: Achilleas Mantzios <achill@matrix.gatewaynet.com> [1]
11 lines
706 B
Bash
11 lines
706 B
Bash
--- common/autoconf/generated-configure.sh.orig
|
|
+++ common/autoconf/generated-configure.sh
|
|
@@ -36760,7 +36760,7 @@ fi
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if ccache supports precompiled headers" >&5
|
|
$as_echo_n "checking if ccache supports precompiled headers... " >&6; }
|
|
HAS_GOOD_CCACHE=`($CCACHE --version | head -n 1 | awk '{ split($3, a, "."); if (a[1] >= 3 && (a[2] > 1 || (a[2] == 1 && a[3] >= 4))) print "yes"; else print "no"; }') 2> /dev/null`
|
|
- if test "x$HAS_GOOD_CCACHE" = xyes; then
|
|
+ if test "x$HAS_GOOD_CCACHE" != xyes; then
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no, disabling ccache" >&5
|
|
$as_echo "no, disabling ccache" >&6; }
|
|
CCACHE=
|