diff options
| -rw-r--r-- | recipes-containers/k3s/k3s_git.bb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes-containers/k3s/k3s_git.bb b/recipes-containers/k3s/k3s_git.bb index 66ff523b..957693ce 100644 --- a/recipes-containers/k3s/k3s_git.bb +++ b/recipes-containers/k3s/k3s_git.bb | |||
| @@ -683,7 +683,7 @@ do_compile() { | |||
| 683 | 683 | ||
| 684 | cp ${WORKDIR}/modules.txt vendor/ | 684 | cp ${WORKDIR}/modules.txt vendor/ |
| 685 | 685 | ||
| 686 | ${GO} build -tags "$TAGS" -ldflags "${GO_BUILD_LDFLAGS} -w -s" -o ./dist/artifacts/k3s ./cmd/server/main.go | 686 | ${GO} build -trimpath -tags "$TAGS" -ldflags "${GO_BUILD_LDFLAGS} -w -s" -o ./dist/artifacts/k3s ./cmd/server/main.go |
| 687 | 687 | ||
| 688 | # Use UPX if it is enabled (and thus exists) to compress binary | 688 | # Use UPX if it is enabled (and thus exists) to compress binary |
| 689 | if command -v upx > /dev/null 2>&1; then | 689 | if command -v upx > /dev/null 2>&1; then |
