Try to populate -ldflags in Docker builds
This commit is contained in:
parent
ede4632835
commit
98b73652e0
2 changed files with 4 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue