File tree 1 file changed +5
-4
lines changed
1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -22,14 +22,15 @@ function do_cpython_build {
22
22
23
23
local prefix=" /opt/_internal/cpython-${py_ver} "
24
24
mkdir -p ${prefix} /lib
25
-
26
- # -Wformat added for https://bugs.python.org/issue17547 on Python 2.6
27
25
if [[ -z " ${WITH_OPENSSL+x} " ]]; then
28
- CFLAGS= " -Wformat " ./configure --prefix= ${prefix} --disable-shared > /dev/null
26
+ local openssl_flags= " "
29
27
else
30
- CFLAGS =" -Wformat " ./configure --prefix= ${prefix} -- with-openssl=${WITH_OPENSSL} --with-openssl-rpath=auto --disable-shared > /dev/null
28
+ local openssl_flags =" -- with-openssl=${WITH_OPENSSL} --with-openssl-rpath=auto"
31
29
fi
32
30
31
+ # -Wformat added for https://bugs.python.org/issue17547 on Python 2.6
32
+ CFLAGS=" -Wformat" ./configure --prefix=${prefix} ${openssl_flags} --disable-shared > /dev/null
33
+
33
34
make -j40 > /dev/null
34
35
make install > /dev/null
35
36
You can’t perform that action at this time.
0 commit comments