Try to populate -ldflags in Docker builds

This commit is contained in:
Neil Alexander 2022-10-04 11:07:54 +01:00
parent ede4632835
commit 98b73652e0
No known key found for this signature in database
GPG key ID: A02A2019A2BB0944
2 changed files with 4 additions and 3 deletions

View file

@ -12,6 +12,7 @@ GOOS="linux"
echo "Target arch: $TARGETARCH"
echo "User arch: $USERARCH"
echo "Link flags: $FLAGS"
if [ "$TARGETARCH" != "$USERARCH" ]; then
if [ "$USERARCH" != "amd64" ]; then