From 5f3528fb74f948654e47fa6508b0bc9868d19cf8 Mon Sep 17 00:00:00 2001 From: Dexter Chua Date: Fri, 15 Jan 2021 17:45:24 +0800 Subject: [PATCH] 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. --- cpython/Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cpython/Makefile b/cpython/Makefile index aad96275c..80faa3c92 100644 --- a/cpython/Makefile +++ b/cpython/Makefile @@ -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 \