| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -85,7 +85,7 @@ emscripten () { | |||
| 85 | 85 | --disable-shared | |
| 86 | 86 | fi | |
| 87 | 87 | # 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 | ||
| 89 | 89 | ||
| 90 | 90 | # pgen native setup | |
| 91 | 91 | # note: need to build 'pgen' once before overwriting it with the native one | |
@@ -96,9 +96,9 @@ emscripten () { | |||
| 96 | 96 | # Modules/Setup.local | |
| 97 | 97 | echo '*static*' > Modules/Setup.local | |
| 98 | 98 | cat $SETUPLOCAL >> Modules/Setup.local | |
| 99 | - emmake make Makefile | ||
| 100 | 99 | # drop -I/-L/-lz, we USE_ZLIB=1 (keep it in SETUPLOCAL for mock) | |
| 101 | 100 | sed -i -e 's/^\(zlib zlibmodule.c\).*/\1/' Modules/Setup.local | |
| 101 | + emmake make Makefile | ||
| 102 | 102 | ||
| 103 | 103 | ( | |
| 104 | 104 | export PATH=$BUILD/Python-$VERSION/native:$PATH | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -31,7 +31,7 @@ unpack () { | |||
| 31 | 31 | } | |
| 32 | 32 | ||
| 33 | 33 | # use cases: | |
| 34 | - # - python/pgen/.pyo for emscripten() below | ||
| 34 | + # - python/.pyo for emscripten() below | ||
| 35 | 35 | # - common basis for crosspython below | |
| 36 | 36 | hostpython () { | |
| 37 | 37 | cd $BUILD/Python-$VERSION/ | |
| Back | FazBrowse Home | New Git URL |
0 commit comments