summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaromír Doleček <jdolecek@NetBSD.org>2018-02-09 14:30:06 +0100
committerAnatol Belski <ab@php.net>2018-02-09 14:30:06 +0100
commita5b55416f4bf48e475b30bb86b120c83efccca53 (patch)
tree079a87d663b438ffa997b658eb7233bb2753e149
parentd968581c5b8dd2f2786591e8ec91c344b2b4f488 (diff)
downloadphp-git-a5b55416f4bf48e475b30bb86b120c83efccca53.tar.gz
Fixed bug #75940 Unnecessary compile wrapper with PHP_THREAD_SAFETY=yes
-rw-r--r--configure.ac7
1 files changed, 1 insertions, 6 deletions
diff --git a/configure.ac b/configure.ac
index 7c0d007254..25b573f8a6 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1377,12 +1377,7 @@ old_CC=$CC
if test "$PHP_THREAD_SAFETY" = "yes" && test -n "$ac_cv_pthreads_cflags"; then
CXXFLAGS="$CXXFLAGS $ac_cv_pthreads_cflags"
INLINE_CFLAGS="$INLINE_CFLAGS $ac_cv_pthreads_cflags"
- cat >meta_ccld<<EOF
-#! /bin/sh
-exec $CC $ac_cv_pthreads_cflags \$@
-EOF
- CC="$abs_builddir/meta_ccld"
- chmod +x meta_ccld
+ CPPFLAGS="$CPPFLAGS $ac_cv_pthreads_cflags"
fi
dnl This will go away, if we have a facility to run per-extension code