mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-04-20 14:06:54 +02:00
more go static build flags
This commit is contained in:
parent
de00486b80
commit
4d80f7c41d
1 changed files with 2 additions and 2 deletions
|
@ -173,8 +173,8 @@ if(NOT PACKAGE_STATIC)
|
|||
set(GOFLAGS
|
||||
${GOFLAGS}
|
||||
-a
|
||||
-tags netgo
|
||||
-ldflags '-w -extldflags \"-static -Wl,-unresolved-symbols=ignore-all\"'
|
||||
-tags osusergo,netgo
|
||||
-ldflags '-w -extldflags \"-static -w -s -Wl,-unresolved-symbols=ignore-all\"'
|
||||
)
|
||||
else(BUILD_STATIC)
|
||||
set(GOFLAGS
|
||||
|
|
Loading…
Add table
Reference in a new issue