mirror of
https://github.com/v2fly/v2ray-core.git
synced 2025-01-02 15:36:41 -05:00
compiler use gogcc, remove gcflags and asmflags (#269)
This commit is contained in:
parent
bcc7b78ff7
commit
359f84407a
@ -13,13 +13,10 @@ def _go_command(ctx):
|
||||
options = [
|
||||
"go",
|
||||
"build",
|
||||
"-trimpath",
|
||||
"-o", output_file.path,
|
||||
"-compiler", "gc",
|
||||
"-gcflags", '"all=-trimpath=${GOPATH}/src"',
|
||||
"-asmflags", '"all=-trimpath=${GOPATH}/src"',
|
||||
"-ldflags", "'%s'" % ld_flags,
|
||||
"-tags", "'%s'" % ctx.attr.gotags,
|
||||
"-trimpath",
|
||||
pkg,
|
||||
]
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user