diff options
author | Runxi Yu <me@runxiyu.org> | 2025-03-07 08:25:04 +0800 |
---|---|---|
committer | Runxi Yu <me@runxiyu.org> | 2025-03-07 08:25:04 +0800 |
commit | 78abaefa0d73372bccb6ef0b1fda15dcbb9a98d8 (patch) | |
tree | 41f60d34b7700f2b61e636303332607d67703f3f | |
parent | database: Remove query_list (diff) | |
download | forge-78abaefa0d73372bccb6ef0b1fda15dcbb9a98d8.tar.gz forge-78abaefa0d73372bccb6ef0b1fda15dcbb9a98d8.tar.zst forge-78abaefa0d73372bccb6ef0b1fda15dcbb9a98d8.zip |
Makefile: Don't need to statically link Go files
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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: |