mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-24 07:51:03 +02:00
Merge pull request #1837 from mischief/mantle-ldflags
coreos-devel/mantle: silence go linker flag warning
This commit is contained in:
commit
4e5567fa8b
@ -25,9 +25,9 @@ RDEPEND=">=net-dns/dnsmasq-2.72[dhcp,ipv6]"
|
||||
|
||||
src_compile() {
|
||||
if [[ "${PV}" == 9999 ]]; then
|
||||
GO_LDFLAGS="-X ${COREOS_GO_PACKAGE}/version.Version $(get_semver)"
|
||||
GO_LDFLAGS="-X ${COREOS_GO_PACKAGE}/version.Version=$(get_semver)"
|
||||
else
|
||||
GO_LDFLAGS="-X ${COREOS_GO_PACKAGE}/version.Version ${PV}"
|
||||
GO_LDFLAGS="-X ${COREOS_GO_PACKAGE}/version.Version=${PV}"
|
||||
fi
|
||||
|
||||
for cmd in cork kola kolet ore plume; do
|
||||
|
Loading…
x
Reference in New Issue
Block a user