mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
fix variable reference to fix --enable-profiling (closes #17550)
This commit is contained in:
parent
a1eb483d8f
commit
615ea1a98f
3 changed files with 7 additions and 2 deletions
|
@ -883,7 +883,7 @@ AC_ARG_ENABLE(profiling,
|
|||
AS_HELP_STRING([--enable-profiling], [enable C-level code profiling]))
|
||||
if test "x$enable_profiling" = xyes; then
|
||||
ac_save_cc="$CC"
|
||||
CC="$(CC) -pg"
|
||||
CC="$CC -pg"
|
||||
AC_LINK_IFELSE([AC_LANG_SOURCE([[int main() { return 0; }]])],
|
||||
[],
|
||||
[enable_profiling=no])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue