do not dump cgo_ldflags to intermediate cgo *.go generated files
@@ -3659,7 +3659,7 @@ macro GO_COMPILE_SYMABIS(ASM_FILES...) {
}
macro GO_COMPILE_CGO1(NAME, FLAGS[], FILES...) {
- .CMD=${hide:GO_FAKEID} ${GO_TOOLS_ROOT}/pkg/tool/${GO_HOST_OS}_${GO_HOST_ARCH}/cgo -objdir $BINDIR -importpath $NAME $FLAGS -- $C_FLAGS_PLATFORM ${pre=-I:INCLUDE} ${CGO_CFLAGS_VALUE} ${input:FILES} ${output;hide:"_cgo_export.h"} ${output;hide:"_cgo_export.c"} ${output;hide:"_cgo_gotypes.go"} ${output;noauto;hide:"_cgo_main.c"} ${output;hide;rootrel;nopath;noext:FILES.cgo1.go} ${output;hide;rootrel;nopath;noext:FILES.cgo2.c} ${output;noauto;hide:"_cgo_flags"} ${env:"CGO_LDFLAGS=${GO_LDFLAGS_GLOBAL}"} $GO_TOOLCHAIN_ENV ${kv;hide:"p go"} ${kv;hide:"pc light-blue"} ${kv;hide:"show_out"}
+ .CMD=${hide:GO_FAKEID} ${GO_TOOLS_ROOT}/pkg/tool/${GO_HOST_OS}_${GO_HOST_ARCH}/cgo -objdir $BINDIR -importpath $NAME $FLAGS -- $C_FLAGS_PLATFORM ${pre=-I:INCLUDE} ${CGO_CFLAGS_VALUE} ${input:FILES} ${output;hide:"_cgo_export.h"} ${output;hide:"_cgo_export.c"} ${output;hide:"_cgo_gotypes.go"} ${output;noauto;hide:"_cgo_main.c"} ${output;hide;rootrel;nopath;noext:FILES.cgo1.go} ${output;hide;rootrel;nopath;noext:FILES.cgo2.c} ${output;noauto;hide:"_cgo_flags"} $GO_TOOLCHAIN_ENV ${kv;hide:"p go"} ${kv;hide:"pc light-blue"} ${kv;hide:"show_out"}
}
macro GO_COMPILE_CGO2(NAME, C_FILES[], S_FILES[], FILES...) {
