From 26d28c3b429eedd655925f16369ba1f3237143c4 Mon Sep 17 00:00:00 2001 From: Jaromir Dolecek Date: Tue, 28 Sep 2021 21:44:12 +0200 Subject: [PATCH] Fix bug #75941: Fix compile failure on Solaris with clang Closes GH-7525. --- NEWS | 4 +++- configure.ac | 3 --- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/NEWS b/NEWS index dce02a53927..ee7562f756c 100644 --- a/NEWS +++ b/NEWS @@ -2,7 +2,9 @@ PHP NEWS ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| ?? ??? ????, PHP 8.1.0RC4 - +- Core: + . Fixed bug #75941 (Fix compile failure on Solaris with clang). (Jaromír + Doleček) 30 Sep 2021, PHP 8.1.0RC3 diff --git a/configure.ac b/configure.ac index a22b36640a5..a98c9af4259 100644 --- a/configure.ac +++ b/configure.ac @@ -224,9 +224,6 @@ AX_CHECK_COMPILE_FLAG([-fvisibility=hidden], case $host_alias in *solaris*) CPPFLAGS="$CPPFLAGS -D_POSIX_PTHREAD_SEMANTICS" - if test "${enable_libgcc+set}" != "set" && test "$GCC" = "yes"; then - enable_libgcc=yes - fi ;; *dgux*) CPPFLAGS="$CPPFLAGS -D_BSD_TIMEOFDAY_FLAVOR"