diff --git a/emsdk/Makefile b/emsdk/Makefile index 36aee4922..ebb458cc6 100644 --- a/emsdk/Makefile +++ b/emsdk/Makefile @@ -7,7 +7,7 @@ all: emsdk/.complete emsdk/.complete: ../Makefile.envs $(wildcard patches/*.patch) if [ -d emsdk ]; then rm -rf emsdk; fi - git clone https://github.com/emscripten-core/emsdk.git + git clone --depth 1 https://github.com/emscripten-core/emsdk.git cd emsdk && ./emsdk install --build=Release $(EMSCRIPTEN_VERSION)-fastcomp git clone --branch $(BINARYEN_VERSION) --depth 1 https://github.com/WebAssembly/binaryen.git emsdk/binaryen cat patches/*.patch | patch -p1