Skip to content

Commit e6e8479

Browse files
committed
设置CGO_ENABLED=0 ,避免出现 /lib/x86_64-linux-gnu/libc.so.6: version GLIBC_2.34 not found (required by 2022-12-04
1 parent 85fc9a7 commit e6e8479

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

.github/build/linux.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ builds:
1111
- -s -w
1212
binary: scan4all
1313
env:
14-
- CGO_ENABLED=0
14+
- CGO_ENABLED=1
1515
main: main.go
1616
goos:
1717
- linux

.github/build/linuxarm64.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ builds:
1111
- -s -w
1212
binary: scan4all
1313
env:
14-
- CGO_ENABLED=0
14+
- CGO_ENABLED=1
1515
main: main.go
1616
goos:
1717
- linux

.github/build/mac.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ builds:
1111
- -s -w -X main.Version={{.Version}}
1212
binary: scan4all
1313
env:
14-
- CGO_ENABLED=0
14+
- CGO_ENABLED=1
1515
main: main.go
1616
goos:
1717
- darwin

.github/build/windows.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ builds:
1313
- -s -w
1414
binary: scan4all
1515
env:
16-
- CGO_ENABLED=0
16+
- CGO_ENABLED=1
1717
- CC=x86_64-w64-mingw32-gcc
1818
- CXX=x86_64-w64-mingw32-g++
1919
main: main.go

0 commit comments

Comments
 (0)