Skip to content

Commit

Permalink
BLD Remover linker flags when building cpython (pyodide#1137)
Browse files Browse the repository at this point in the history
We never link when building cpython; we simply generate object files and
put them in an archive.
  • Loading branch information
dalcde authored Jan 15, 2021
1 parent d70c32e commit 5f3528f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions cpython/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down

0 comments on commit 5f3528f

Please sign in to comment.