mirror of
https://github.com/rancher/os.git
synced 2025-09-02 23:34:57 +00:00
Switch to using netgo
This commit is contained in:
@@ -39,5 +39,5 @@ fi
|
|||||||
echo export GOPATH=$GOPATH
|
echo export GOPATH=$GOPATH
|
||||||
|
|
||||||
mkdir -p bin
|
mkdir -p bin
|
||||||
go build -ldflags "-linkmode external -extldflags -static" -o bin/rancheros
|
go build -tags netgo -ldflags "-linkmode external -extldflags -static" -o bin/rancheros
|
||||||
strip --strip-all bin/rancheros
|
strip --strip-all bin/rancheros
|
||||||
|
Reference in New Issue
Block a user