Skip to content

Commit 7e70928

Browse files
committed
Doc fixes / clean-ups
1 parent 4f6de7a commit 7e70928

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

2.7.10/python.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ emscripten () {
8585
--disable-shared
8686
fi
8787
# Fix bad detection
88-
sed -i -e 's,^#define HAVE_GCC_ASM_FOR_X87.*,/* & */,' pyconfig.h
88+
sed -i.bak -e 's,^#define HAVE_GCC_ASM_FOR_X87.*,/* & */,' pyconfig.h
8989

9090
# pgen native setup
9191
# note: need to build 'pgen' once before overwriting it with the native one
@@ -96,9 +96,9 @@ emscripten () {
9696
# Modules/Setup.local
9797
echo '*static*' > Modules/Setup.local
9898
cat $SETUPLOCAL >> Modules/Setup.local
99-
emmake make Makefile
10099
# drop -I/-L/-lz, we USE_ZLIB=1 (keep it in SETUPLOCAL for mock)
101100
sed -i -e 's/^\(zlib zlibmodule.c\).*/\1/' Modules/Setup.local
101+
emmake make Makefile
102102

103103
(
104104
export PATH=$BUILD/Python-$VERSION/native:$PATH

3.8/python.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ unpack () {
3131
}
3232

3333
# use cases:
34-
# - python/pgen/.pyo for emscripten() below
34+
# - python/.pyo for emscripten() below
3535
# - common basis for crosspython below
3636
hostpython () {
3737
cd $BUILD/Python-$VERSION/

0 commit comments

Comments
 (0)