From babf18c52e0515a392bc7c0fedbfabcc1a456974 Mon Sep 17 00:00:00 2001 From: Peter Kokot Date: Fri, 23 Aug 2024 16:54:21 +0200 Subject: [PATCH] Autotools: Remove obsolete compiler reset (#15549) This was once added via 827ad656cb2585d2b9a9cc2d3bb021e8edf34365 to store the compiler variable when being modified due to using libtool passing pthread_cflags to linker. --- configure.ac | 4 ---- 1 file changed, 4 deletions(-) diff --git a/configure.ac b/configure.ac index 904786aca43..491963daae2 100644 --- a/configure.ac +++ b/configure.ac @@ -1464,8 +1464,6 @@ PHP_SUBST([PHP_FRAMEWORKS]) PHP_SUBST([PHP_FRAMEWORKPATH]) PHP_SUBST([INSTALL_HEADERS]) -old_CC=$CC - if test "$PHP_THREAD_SAFETY" = "yes" && test -n "$ac_cv_pthreads_cflags"; then CXXFLAGS="$CXXFLAGS $ac_cv_pthreads_cflags" CPPFLAGS="$CPPFLAGS $ac_cv_pthreads_cflags" @@ -1572,8 +1570,6 @@ PHP_SET_LIBTOOL_VARIABLE([--silent]) dnl libtool 1.4.3 needs this. PHP_SET_LIBTOOL_VARIABLE([--preserve-dup-deps]) -CC=$old_CC - PHP_CONFIGURE_PART([Generating files]) CXXFLAGS_CLEAN=$CXXFLAGS