mirror of
https://github.com/SagerNet/sing-box.git
synced 2025-08-28 21:17:37 +08:00
release: Fix android build
This commit is contained in:
parent
09d3b8f2c2
commit
2358efe44a
@ -107,13 +107,13 @@ func buildAndroid() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if !debugEnabled {
|
if !debugEnabled {
|
||||||
|
sharedFlags[3] = sharedFlags[3] + " -checklinkname=0"
|
||||||
args = append(args, sharedFlags...)
|
args = append(args, sharedFlags...)
|
||||||
} else {
|
} else {
|
||||||
|
debugFlags[1] = debugFlags[1] + " -checklinkname=0"
|
||||||
args = append(args, debugFlags...)
|
args = append(args, debugFlags...)
|
||||||
}
|
}
|
||||||
|
|
||||||
args = append(args, "-ldflags", "-checklinkname=0")
|
|
||||||
|
|
||||||
tags := append(sharedTags, memcTags...)
|
tags := append(sharedTags, memcTags...)
|
||||||
if debugEnabled {
|
if debugEnabled {
|
||||||
tags = append(tags, debugTags...)
|
tags = append(tags, debugTags...)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user