Skip to content

Commit 814b241

Browse files
committed
bpo-44340: Fix
1 parent 5668510 commit 814b241

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

configure

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6753,7 +6753,7 @@ $as_echo "$as_me: llvm-ar found via xcrun: ${LLVM_AR}" >&6;}
67536753
case $ac_sys_system in
67546754
Darwin*)
67556755
# Any changes made here should be reflected in the GCC+Darwin case below
6756-
if test $Py_LTO_POLICY = 'default'
6756+
if test $Py_LTO_POLICY = default
67576757
then
67586758
LTOFLAGS="-flto -Wl,-export_dynamic"
67596759
LTOCFLAGS="-flto"
@@ -6763,11 +6763,11 @@ $as_echo "$as_me: llvm-ar found via xcrun: ${LLVM_AR}" >&6;}
67636763
fi
67646764
;;
67656765
*)
6766-
if test $Py_LTO_POLICY = 'default'
6766+
if test $Py_LTO_POLICY = default
67676767
then
67686768
LTOFLAGS="-flto"
67696769
else
6770-
LTOFLAGS="-flto={Py_LTO_POLICY}"
6770+
LTOFLAGS="-flto=${Py_LTO_POLICY}"
67716771
fi
67726772
;;
67736773
esac

configure.ac

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1423,7 +1423,7 @@ if test "$Py_LTO" = 'true' ; then
14231423
case $ac_sys_system in
14241424
Darwin*)
14251425
# Any changes made here should be reflected in the GCC+Darwin case below
1426-
if test $Py_LTO_POLICY = 'default'
1426+
if test $Py_LTO_POLICY = default
14271427
then
14281428
LTOFLAGS="-flto -Wl,-export_dynamic"
14291429
LTOCFLAGS="-flto"
@@ -1433,11 +1433,11 @@ if test "$Py_LTO" = 'true' ; then
14331433
fi
14341434
;;
14351435
*)
1436-
if test $Py_LTO_POLICY = 'default'
1436+
if test $Py_LTO_POLICY = default
14371437
then
14381438
LTOFLAGS="-flto"
14391439
else
1440-
LTOFLAGS="-flto={Py_LTO_POLICY}"
1440+
LTOFLAGS="-flto=${Py_LTO_POLICY}"
14411441
fi
14421442
;;
14431443
esac

0 commit comments

Comments
 (0)