mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-23 15:31:05 +02:00
coreos-devel/mantle: silence go linker flag warning
This commit is contained in:
parent
ae0621c874
commit
ee1e13b12f
@ -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