Skip to content

Commit ae8dea0

Browse files
committed
Merge branch 'PHP-7.4'
* PHP-7.4: Fix #79895: support = in PHP_CHECK_GCC_ARG m4 macro
2 parents 5f2adfb + 678f5b6 commit ae8dea0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

build/php.m4

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -308,8 +308,8 @@ dnl
308308
dnl PHP_CHECK_GCC_ARG(arg, action-if-found, action-if-not-found)
309309
dnl
310310
AC_DEFUN([PHP_CHECK_GCC_ARG],[
311-
gcc_arg_name=[ac_cv_gcc_arg]translit($1,A-Z-,a-z_)
312-
AC_CACHE_CHECK([whether $CC supports $1], [ac_cv_gcc_arg]translit($1,A-Z-,a-z_), [
311+
gcc_arg_name=[ac_cv_gcc_arg]translit($1,A-Z=-,a-z__)
312+
AC_CACHE_CHECK([whether $CC supports $1], [ac_cv_gcc_arg]translit($1,A-Z=-,a-z__), [
313313
echo 'void somefunc() { };' > conftest.c
314314
cmd='$CC $1 -c conftest.c'
315315
if eval $cmd 2>&1 | $EGREP -e $1 >/dev/null ; then

0 commit comments

Comments
 (0)