Skip to content

Commit 043799a

Browse files
committed
update
1 parent aa86aea commit 043799a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ RUN wget -qO /tmp/python2.tar.xz "https://www.python.org/ftp/python/2.7.18/Pytho
199199
tar --extract --directory /usr/src/python2 --strip-components=1 --file /tmp/python2.tar.xz && \
200200
rm -f /tmp/python2.tar.xz && \
201201
cd /usr/src/python2 && \
202-
./configure --enable-optimizations --enable-option-checking=fatal --with-ensurepip=install --enable-shared --with-lto --with-system-expat && \
202+
CFLAGS="-std=gnu17" ./configure --enable-optimizations --enable-option-checking=fatal --with-ensurepip=install --enable-shared --with-lto --with-system-expat && \
203203
make -s -j "$(nproc)" && \
204204
make altinstall && \
205205
make clean && \

0 commit comments

Comments
 (0)