]> git.pld-linux.org Git - packages/php.git/blob - php-no-metaccld.patch
rel 40
[packages/php.git] / php-no-metaccld.patch
1 diff -urNp -x '*.orig' php-5.2.17.org/configure.in php-5.2.17/configure.in
2 --- php-5.2.17.org/configure.in 2021-10-23 18:58:29.039791808 +0200
3 +++ php-5.2.17/configure.in     2021-10-23 18:58:31.346458475 +0200
4 @@ -1277,19 +1277,6 @@ PHP_SUBST(PHP_FRAMEWORKS)
5  PHP_SUBST(PHP_FRAMEWORKPATH)
6  PHP_SUBST(INSTALL_HEADERS)
7  
8 -old_CC=$CC
9 -
10 -if test "$PHP_THREAD_SAFETY" = "yes" && test -n "$ac_cv_pthreads_cflags"; then
11 -  CXXFLAGS="$CXXFLAGS $ac_cv_pthreads_cflags"
12 -  INLINE_CFLAGS="$INLINE_CFLAGS $ac_cv_pthreads_cflags"
13 -  cat >meta_ccld<<EOF
14 -#! /bin/sh
15 -exec $CC $ac_cv_pthreads_cflags \$@
16 -EOF
17 -  CC="$abs_builddir/meta_ccld"
18 -  chmod +x meta_ccld
19 -fi
20 -
21  dnl This will go away, if we have a facility to run per-extension code
22  dnl after the thread_safety decision was done
23  if test "$PHP_THREAD_SAFETY" = "yes" && test "$PHP_MYSQL" = "yes"; then
24 @@ -1345,8 +1332,6 @@ test -z "$PHP_COMPILE" && PHP_COMPILE='$
25  test -z "$CXX_PHP_COMPILE" && CXX_PHP_COMPILE='$(LIBTOOL) --mode=compile $(CXX_COMPILE) -c $<'
26  SHARED_LIBTOOL='$(LIBTOOL)'
27  
28 -CC=$old_CC
29 -
30  PHP_CONFIGURE_PART(Generating files)
31  
32  CXXFLAGS_CLEAN=$CXXFLAGS
This page took 0.040292 seconds and 3 git commands to generate.