|
@@ -62,7 +62,7 @@ func init() {
|
|
|
sharedFlags = append(sharedFlags, "-ldflags", "-X github.com/sagernet/sing-box/constant.Version="+currentTag+" -s -w -buildid= -checklinkname=0")
|
|
|
debugFlags = append(debugFlags, "-ldflags", "-X github.com/sagernet/sing-box/constant.Version="+currentTag+" -checklinkname=0")
|
|
|
|
|
|
- sharedTags = append(sharedTags, "with_gvisor", "with_quic", "with_wireguard", "with_utls", "with_clash_api", "with_conntrack")
|
|
|
+ sharedTags = append(sharedTags, "with_gvisor", "with_quic", "with_wireguard", "with_utls", "with_clash_api", "with_conntrack", "badlinkname")
|
|
|
macOSTags = append(macOSTags, "with_dhcp")
|
|
|
memcTags = append(memcTags, "with_tailscale")
|
|
|
notMemcTags = append(notMemcTags, "with_low_memory")
|
|
@@ -107,10 +107,8 @@ func buildAndroid() {
|
|
|
}
|
|
|
|
|
|
if !debugEnabled {
|
|
|
- // sharedFlags[3] = sharedFlags[3] + " -checklinkname=0"
|
|
|
args = append(args, sharedFlags...)
|
|
|
} else {
|
|
|
- // debugFlags[1] = debugFlags[1] + " -checklinkname=0"
|
|
|
args = append(args, debugFlags...)
|
|
|
}
|
|
|
|