diff options
Diffstat (limited to 'meta/recipes-devtools/go/go-1.11/0008-use-GOBUILDMODE-to-set-buildmode.patch')
-rw-r--r-- | meta/recipes-devtools/go/go-1.11/0008-use-GOBUILDMODE-to-set-buildmode.patch | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/meta/recipes-devtools/go/go-1.11/0008-use-GOBUILDMODE-to-set-buildmode.patch b/meta/recipes-devtools/go/go-1.11/0008-use-GOBUILDMODE-to-set-buildmode.patch index b6ab504335..225cf439c5 100644 --- a/meta/recipes-devtools/go/go-1.11/0008-use-GOBUILDMODE-to-set-buildmode.patch +++ b/meta/recipes-devtools/go/go-1.11/0008-use-GOBUILDMODE-to-set-buildmode.patch | |||
@@ -18,11 +18,11 @@ Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> | |||
18 | src/cmd/go/internal/work/build.go | 6 +++++- | 18 | src/cmd/go/internal/work/build.go | 6 +++++- |
19 | 1 file changed, 5 insertions(+), 1 deletion(-) | 19 | 1 file changed, 5 insertions(+), 1 deletion(-) |
20 | 20 | ||
21 | diff --git a/src/cmd/go/internal/work/build.go b/src/cmd/go/internal/work/build.go | 21 | Index: go/src/cmd/go/internal/work/build.go |
22 | index 145b875..595d703 100644 | 22 | =================================================================== |
23 | --- a/src/cmd/go/internal/work/build.go | 23 | --- go.orig/src/cmd/go/internal/work/build.go |
24 | +++ b/src/cmd/go/internal/work/build.go | 24 | +++ go/src/cmd/go/internal/work/build.go |
25 | @@ -218,7 +218,11 @@ func AddBuildFlags(cmd *base.Command) { | 25 | @@ -223,7 +223,11 @@ func AddBuildFlags(cmd *base.Command) { |
26 | 26 | ||
27 | cmd.Flag.Var(&load.BuildAsmflags, "asmflags", "") | 27 | cmd.Flag.Var(&load.BuildAsmflags, "asmflags", "") |
28 | cmd.Flag.Var(buildCompiler{}, "compiler", "") | 28 | cmd.Flag.Var(buildCompiler{}, "compiler", "") |
@@ -35,6 +35,3 @@ index 145b875..595d703 100644 | |||
35 | cmd.Flag.Var(&load.BuildGcflags, "gcflags", "") | 35 | cmd.Flag.Var(&load.BuildGcflags, "gcflags", "") |
36 | cmd.Flag.Var(&load.BuildGccgoflags, "gccgoflags", "") | 36 | cmd.Flag.Var(&load.BuildGccgoflags, "gccgoflags", "") |
37 | cmd.Flag.StringVar(&cfg.BuildMod, "mod", "", "") | 37 | cmd.Flag.StringVar(&cfg.BuildMod, "mod", "", "") |
38 | -- | ||
39 | 2.7.4 | ||
40 | |||