From 027f7dba38424af97634fb8376d73d10f2b58c90 Mon Sep 17 00:00:00 2001 From: Peter Kokot Date: Fri, 23 Aug 2024 00:16:56 +0200 Subject: [PATCH] Autotools: Remove obsolete compiler reset 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 904786aca432d..491963daae227 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