summaryrefslogtreecommitdiff
path: root/lang/php73/files/patch-configure.ac
blob: 4305bd53e717b7236e92c1cc4276355d0e9eb7fc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- configure.ac.orig	2019-01-08 12:14:44 UTC
+++ configure.ac
@@ -579,7 +579,10 @@ PHP_SOCKADDR_CHECKS
 
 dnl Checks for GCC function attributes on all systems except ones without glibc
 dnl Fix for these systems is already included in GCC 7, but not on GCC 6
-AS_CASE([$host_alias], [*-*-*android*|*-*-*uclibc*|*-*-*musl*], [true], [
+dnl
+dnl At least some versions of FreeBSD seem to have buggy ifunc support, see
+dnl bug #77284. Conservatively don't use ifuncs on FreeBSD.
+AS_CASE([$host_alias], [*-*-*android*|*-*-*uclibc*|*-*-*musl*|*freebsd*], [true], [
   AX_GCC_FUNC_ATTRIBUTE([ifunc])
   AX_GCC_FUNC_ATTRIBUTE([target])
 ])