mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-06-06 12:33:44 +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
|
set(GOFLAGS
|
||||||
${GOFLAGS}
|
${GOFLAGS}
|
||||||
-a
|
-a
|
||||||
-tags netgo
|
-tags osusergo,netgo
|
||||||
-ldflags '-w -extldflags \"-static -Wl,-unresolved-symbols=ignore-all\"'
|
-ldflags '-w -extldflags \"-static -w -s -Wl,-unresolved-symbols=ignore-all\"'
|
||||||
)
|
)
|
||||||
else(BUILD_STATIC)
|
else(BUILD_STATIC)
|
||||||
set(GOFLAGS
|
set(GOFLAGS
|
||||||
|
|
Loading…
Add table
Reference in a new issue