File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1157,11 +1157,11 @@ def buildPython():
11571157 (' ' , '--without-ensurepip ' )[PYTHON_3 ],
11581158 (' ' , "--with-openssl='%s/libraries/usr/local'" % (
11591159 shellQuote (WORKDIR )[1 :- 1 ],))[PYTHON_3 ],
1160- (' ' , "--with-tcltk-includes='-I%s/libraries/usr/local/include'" % (
1160+ (' ' , "--enable-optimizations --with-lto" )[compilerCanOptimize ()],
1161+ (' ' , "TCLTK_CFLAGS='-I%s/libraries/usr/local/include'" % (
11611162 shellQuote (WORKDIR )[1 :- 1 ],))[internalTk ()],
1162- (' ' , "--with-tcltk-libs ='-L%s/libraries/usr/local/lib -ltcl8.6 -ltk8.6'" % (
1163+ (' ' , "TCLTK_LIBS ='-L%s/libraries/usr/local/lib -ltcl8.6 -ltk8.6'" % (
11631164 shellQuote (WORKDIR )[1 :- 1 ],))[internalTk ()],
1164- (' ' , "--enable-optimizations --with-lto" )[compilerCanOptimize ()],
11651165 shellQuote (WORKDIR )[1 :- 1 ],
11661166 shellQuote (WORKDIR )[1 :- 1 ]))
11671167
You can’t perform that action at this time.
0 commit comments