BLD Remover linker flags when building cpython (#1137)

We never link when building cpython; we simply generate object files and
put them in an archive.
This commit is contained in:
Dexter Chua 2021-01-15 17:45:24 +08:00 committed by GitHub
parent d70c32e87a
commit 5f3528fb74
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -109,11 +109,10 @@ $(BUILD)/Makefile: $(BUILD)/.patched $(ZLIBBUILD)/.configured $(SQLITEBUILD)/lib
cp config.site $(BUILD)/
( \
cd $(BUILD); \
EMCC_CFLAGS="-s WASM=0" CONFIG_SITE=./config.site READELF=true LD_RUN_PATH="$(SQLITEBUILD):$(BZIP2BUILD)" emconfigure \
EMCC_CFLAGS="-s WASM=0" CONFIG_SITE=./config.site READELF=true emconfigure \
./configure \
CFLAGS="-fPIC" \
CPPFLAGS="-I$(SQLITEBUILD) -I$(BZIP2BUILD) -I$(ZLIBBUILD)" \
LDFLAGS="-L$(SQLITEBUILD) -L$(BZIP2BUILD)" \
--without-pymalloc \
--disable-shared \
--disable-ipv6 \