diff options
author | Ayke van Laethem <[email protected]> | 2019-04-16 15:08:40 +0200 |
---|---|---|
committer | Ron Evans <[email protected]> | 2019-04-17 23:15:37 +0200 |
commit | 6c63a0d6e7a3686b93cf251c21c021516549cc66 (patch) | |
tree | 8876c90b4de03b20725e585090716879bf30a995 /BUILDING.md | |
parent | 2a0a7722f90183d98c26078a5bd63cc88247971d (diff) | |
download | tinygo-6c63a0d6e7a3686b93cf251c21c021516549cc66.tar.gz tinygo-6c63a0d6e7a3686b93cf251c21c021516549cc66.zip |
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.
Diffstat (limited to 'BUILDING.md')
-rw-r--r-- | BUILDING.md | 2 |
1 files changed, 1 insertions, 1 deletions
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 |