mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-24 07:51:03 +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() {
|
src_compile() {
|
||||||
if [[ "${PV}" == 9999 ]]; then
|
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
|
else
|
||||||
GO_LDFLAGS="-X ${COREOS_GO_PACKAGE}/version.Version ${PV}"
|
GO_LDFLAGS="-X ${COREOS_GO_PACKAGE}/version.Version=${PV}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
for cmd in cork kola kolet ore plume; do
|
for cmd in cork kola kolet ore plume; do
|
||||||
|
Loading…
x
Reference in New Issue
Block a user