From 6c63a0d6e7a3686b93cf251c21c021516549cc66 Mon Sep 17 00:00:00 2001 From: Ayke van Laethem Date: Tue, 16 Apr 2019 15:08:40 +0200 Subject: Makefile: build static binaries only This replaces the older way which just does the following: go install . and go test -v . Instead, `make` and `make test` will now build TinyGo statically linked against LLVM, so that `go install` and `go test -v` should be used manually. --- BUILDING.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'BUILDING.md') diff --git a/BUILDING.md b/BUILDING.md index 144e2c52a..ad80e6b00 100644 --- a/BUILDING.md +++ b/BUILDING.md @@ -92,7 +92,7 @@ Now that you have a working version of LLVM, build TinyGo using it. You need to specify the directories to the LLVM build directory and to the Clang and LLD source. cd $HOME/go/src/github.com/tinygo-org/tinygo - make static LLVM_BUILDDIR=$HOME/src/llvm-build CLANG_SRC=$HOME/src/llvm/tools/clang LLD_SRC=$HOME/src/llvm/tools/lld + make LLVM_BUILDDIR=$HOME/src/llvm-build CLANG_SRC=$HOME/src/llvm/tools/clang LLD_SRC=$HOME/src/llvm/tools/lld ## Verify TinyGo -- cgit v1.2.3