Only build with cgosymbolizer when explicitly requested (#6151)

* Only build with cgosymbolizer when explicitly desired. This fixes go builds for mac and others
This commit is contained in:
Preston Van Loon 2020-06-05 15:21:43 -07:00 committed by GitHub
parent 302b0f8c80
commit 6c0fbcc622
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 0 deletions

View File

@ -86,6 +86,7 @@ build:cgo_symbolizer --config=llvm
build:cgo_symbolizer --copt=-g
build:cgo_symbolizer --define=USE_CGO_SYMBOLIZER=true
build:cgo_symbolizer -c dbg
build:cgo_symbolizer --define=gotags=cgosymbolizer_enabled
# multi-arch cross-compiling toolchain configs:
-----------------------------------------------

View File

@ -1,3 +1,5 @@
// +build cgosymbolizer_enabled
package debug
import (