aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRunxi Yu <me@runxiyu.org>2025-03-07 08:25:04 +0800
committerRunxi Yu <me@runxiyu.org>2025-03-07 08:25:04 +0800
commit78abaefa0d73372bccb6ef0b1fda15dcbb9a98d8 (patch)
tree41f60d34b7700f2b61e636303332607d67703f3f
parentdatabase: Remove query_list (diff)
downloadforge-78abaefa0d73372bccb6ef0b1fda15dcbb9a98d8.tar.gz
forge-78abaefa0d73372bccb6ef0b1fda15dcbb9a98d8.tar.zst
forge-78abaefa0d73372bccb6ef0b1fda15dcbb9a98d8.zip
Makefile: Don't need to statically link Go files
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index b452eb2..43e344c 100644
--- a/Makefile
+++ b/Makefile
@@ -7,7 +7,7 @@ CFLAGS = -Wall -Wextra -Werror -pedantic -std=c99 -D_GNU_SOURCE
forge: $(filter-out forge,$(wildcard *)) version.go git_hooks_client/*.c git_hooks_client/git_hooks_client
go mod vendor
- CGO_ENABLED=0 go build -o $@ -ldflags '-extldflags "-f no-PIC -static"' -tags 'osusergo netgo static_build' .
+ go build .
git_hooks_client/git_hooks_client: