mirror of
https://github.com/vxcontrol/external-dns.git
synced 2026-07-21 14:15:24 -04:00
d6c2e1cca2
Static linking with gcc may cause segfaults at runtime on some systems (see https://github.com/golang/go/issues/13470)
10 lines
166 B
Python
Executable File
10 lines
166 B
Python
Executable File
#!/bin/bash
|
|
set -e
|
|
|
|
source $(dirname $0)/version
|
|
|
|
cd $(dirname $0)/..
|
|
|
|
mkdir -p bin
|
|
CGO_ENABLED=0 go build -ldflags "-X main.Version=$VERSION -s" -o bin/external-dns
|