1
0
Fork 0

Statically link libc

master
Philip O'Toole 3 years ago
parent 95200f4a17
commit 22b9a5b51a

@ -63,7 +63,7 @@ jobs:
- checkout
- run: sudo apt-get install python-requests
- run: go get -t -d -v ./...
- run: go install ./...
- run: go install -ldflags="-extldflags=-static" ./...
- run:
command: system_test/full_system_test.py
environment:

@ -42,7 +42,7 @@ cd rqlite
go get -d ./...
LINKER_PKG_PATH=github.com/rqlite/rqlite/cmd
go install -ldflags="-X $LINKER_PKG_PATH.Version=$VERSION -X $LINKER_PKG_PATH.Branch=$branch -X $LINKER_PKG_PATH.Commit=$commit -X $LINKER_PKG_PATH.Buildtime=$buildtime" ./...
go install -ldflags="-extldflags=-static -X $LINKER_PKG_PATH.Version=$VERSION -X $LINKER_PKG_PATH.Branch=$branch -X $LINKER_PKG_PATH.Commit=$commit -X $LINKER_PKG_PATH.Buildtime=$buildtime" ./...
release=`echo rqlite-$VERSION-$kernel-$machine | tr '[:upper:]' '[:lower:]'`
release_pkg=${release}.tar.gz

Loading…
Cancel
Save