Properly set LDFLAGS

Resolves: rhbz#2013681
This commit is contained in:
Timothée Ravier 2022-01-10 20:22:57 +01:00
parent 178183fd13
commit 0903000112
1 changed files with 1 additions and 1 deletions

View File

@ -71,7 +71,7 @@ cross-compilation.
%autopatch -p1
%build
export LDFLAGS="-X github.com/coreos/butane/internal/version.Raw=%{version} "
export LDFLAGS="-X github.com/coreos/butane/internal/version.Raw=%{version} $LDFLAGS"
export GOFLAGS="-mod=vendor"
echo "Building butane..."