diff options
author | Runxi Yu <me@runxiyu.org> | 2025-04-05 23:03:37 +0800 |
---|---|---|
committer | Runxi Yu <me@runxiyu.org> | 2025-04-05 23:03:37 +0800 |
commit | 79232e8adfc61d62158a0b14b2c9c0fc1599e96d (patch) | |
tree | dbd4c1399bad29890548e2470ce59e3680b1bfdf /Makefile | |
parent | Hooks: Fix for non-Linux systems (diff) | |
download | forge-0.1.26.tar.gz forge-0.1.26.tar.zst forge-0.1.26.zip |
Makefile: Fix version linker flagv0.1.26
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -16,7 +16,7 @@ VERSION = $(shell git describe --tags --always --dirty) SOURCE_FILES = $(shell git ls-files) forge: source.tar.gz hookc/hookc git2d/git2d $(SOURCE_FILES) - CGO_ENABLED=0 go build -o forge -ldflags '-extldflags "-f no-PIC -static" -X "main.VERSION=$(VERSION)"' -tags 'osusergo netgo static_build' ./cmd/forge + CGO_ENABLED=0 go build -o forge -ldflags '-extldflags "-f no-PIC -static" -X "go.lindenii.runxiyu.org/forge.version=$(VERSION)"' -tags 'osusergo netgo static_build' ./cmd/forge utils/colb: |