mirror of
https://github.com/php/php-src.git
synced 2024-11-23 09:54:15 +08:00
Propagate pthread_cflags to CXXFLAGS and INLINE_CFLAGS
This commit is contained in:
parent
1469f420d6
commit
4179e85693
@ -746,6 +746,8 @@ PHP_CONFIGURE_PART(Configuring libtool)
|
||||
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 \$@
|
||||
|
Loading…
Reference in New Issue
Block a user