mirror of
https://github.com/python/cpython.git
synced 2025-08-03 08:34:29 +00:00
[3.13] gh-120671: Fix PY_CHECK_CC_WARNING() in configure.ac (GH-120822) (#120985)
gh-120671: Fix PY_CHECK_CC_WARNING() in configure.ac (GH-120822)
Add missing space in AS_VAR_APPEND() on CFLAGS.
(cherry picked from commit 2106c9bef0
)
Co-authored-by: Michael Allwright <allsey87@gmail.com>
This commit is contained in:
parent
6bfcf98ff6
commit
d26ce50f7b
3 changed files with 10 additions and 9 deletions
|
@ -2432,7 +2432,7 @@ AC_DEFUN([PY_CHECK_CC_WARNING], [
|
|||
AS_VAR_PUSHDEF([py_var], [ac_cv_$1_]m4_normalize($2)[_warning])
|
||||
AC_CACHE_CHECK([m4_ifblank([$3], [if we can $1 $CC $2 warning], [$3])], [py_var], [
|
||||
AS_VAR_COPY([py_cflags], [CFLAGS])
|
||||
AS_VAR_APPEND([CFLAGS], ["-W$2 -Werror"])
|
||||
AS_VAR_APPEND([CFLAGS], [" -W$2 -Werror"])
|
||||
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[]], [[]])],
|
||||
[AS_VAR_SET([py_var], [yes])],
|
||||
[AS_VAR_SET([py_var], [no])])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue