File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 7
7
binary : ntfy
8
8
env :
9
9
- CGO_ENABLED=1 # required for go-sqlite3
10
- tags : [sqlite_omit_load_extension]
10
+ tags : [sqlite_omit_load_extension,osusergo,netgo ]
11
11
ldflags :
12
12
- " -linkmode=external -extldflags=-static -s -w -X main.version={{.Version}} -X main.commit={{.Commit}} -X main.date={{.Date}}"
13
13
goos : [linux]
@@ -18,7 +18,7 @@ builds:
18
18
env :
19
19
- CGO_ENABLED=1 # required for go-sqlite3
20
20
- CC=arm-linux-gnueabi-gcc # apt install gcc-arm-linux-gnueabi
21
- tags : [sqlite_omit_load_extension]
21
+ tags : [sqlite_omit_load_extension,osusergo,netgo ]
22
22
ldflags :
23
23
- " -linkmode=external -extldflags=-static -s -w -X main.version={{.Version}} -X main.commit={{.Commit}} -X main.date={{.Date}}"
24
24
goos : [linux]
@@ -32,7 +32,7 @@ builds:
32
32
env :
33
33
- CGO_ENABLED=1 # required for go-sqlite3
34
34
- CC=aarch64-linux-gnu-gcc # apt install gcc-aarch64-linux-gnu
35
- tags : [sqlite_omit_load_extension]
35
+ tags : [sqlite_omit_load_extension,osusergo,netgo ]
36
36
ldflags :
37
37
- " -linkmode=external -extldflags=-static -s -w -X main.version={{.Version}} -X main.commit={{.Commit}} -X main.date={{.Date}}"
38
38
goos : [linux]
Original file line number Diff line number Diff line change @@ -103,7 +103,7 @@ build-simple: clean
103
103
export CGO_ENABLED=1
104
104
$(GO ) build \
105
105
-o dist/ntfy_linux_amd64/ntfy \
106
- -tags sqlite_omit_load_extension \
106
+ -tags sqlite_omit_load_extension,osusergo,netgo \
107
107
-ldflags \
108
108
" -linkmode=external -extldflags=-static -s -w -X main.version=$( VERSION) -X main.commit=$( shell git rev-parse --short HEAD) -X main.date=$( shell date +%s) "
109
109
You can’t perform that action at this time.
0 commit comments