Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 615ea1a

Browse files
committed
fix variable reference to fix --enable-profiling (closes #17550)
1 parent a1eb483 commit 615ea1a

3 files changed

Lines changed: 7 additions & 2 deletions

File tree

Misc/NEWS

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,11 @@ What's New in Python 3.3.1?
99

1010
.. *Release date: 2013-XX-XX*
1111

12+
Build
13+
-----
14+
15+
- Issue #17550: Fix the --enable-profiling configure switch.
16+
1217
Core and Builtins
1318
-----------------
1419

configure

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5532,7 +5532,7 @@ fi
55325532

55335533
if test "x$enable_profiling" = xyes; then
55345534
ac_save_cc="$CC"
5535-
CC="$(CC) -pg"
5535+
CC="$CC -pg"
55365536
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55375537
/* end confdefs.h. */
55385538
int main() { return 0; }

configure.ac

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -883,7 +883,7 @@ AC_ARG_ENABLE(profiling,
883883
AS_HELP_STRING([--enable-profiling], [enable C-level code profiling]))
884884
if test "x$enable_profiling" = xyes; then
885885
ac_save_cc="$CC"
886-
CC="$(CC) -pg"
886+
CC="$CC -pg"
887887
AC_LINK_IFELSE([AC_LANG_SOURCE([[int main() { return 0; }]])],
888888
[],
889889
[enable_profiling=no])

0 commit comments

Comments
 (0)