nim / rpms / golang

Forked from rpms/golang 5 years ago
Clone

Blame golang-1.2-verbose-build.patch

Vincent Batts 0b3722b
Index: go/src/make.bash
Vincent Batts 0b3722b
===================================================================
Vincent Batts 0b3722b
--- go.orig/src/make.bash
Vincent Batts 0b3722b
+++ go/src/make.bash
8d165df
@@ -153,12 +153,12 @@ if [ "$GOHOSTARCH" != "$GOARCH" -o "$GOHOSTOS" != "$GOOS" ]; then
Vincent Batts 0b3722b
 	# CC_FOR_TARGET is recorded as the default compiler for the go tool. When building for the host, however,
Vincent Batts 0b3722b
 	# use the host compiler, CC, from `cmd/dist/dist env` instead.
Vincent Batts 0b3722b
 	CC=$CC GOOS=$GOHOSTOS GOARCH=$GOHOSTARCH \
8d165df
-		"$GOTOOLDIR"/go_bootstrap install -gcflags "$GO_GCFLAGS" -ldflags "$GO_LDFLAGS" -v std cmd
8d165df
+		"$GOTOOLDIR"/go_bootstrap install -gcflags "$GO_GCFLAGS" -ldflags "$GO_LDFLAGS" -v -x std cmd
c56eb06
 	echo
c56eb06
 fi
c56eb06
 
8d165df
 echo "##### Building packages and commands for $GOOS/$GOARCH."
8d165df
-CC=$CC_FOR_TARGET "$GOTOOLDIR"/go_bootstrap install $GO_FLAGS -gcflags "$GO_GCFLAGS" -ldflags "$GO_LDFLAGS" -v std cmd
8d165df
+CC=$CC_FOR_TARGET "$GOTOOLDIR"/go_bootstrap install $GO_FLAGS -gcflags "$GO_GCFLAGS" -ldflags "$GO_LDFLAGS" -v -x std cmd
c56eb06
 echo
c56eb06
 
c56eb06
 rm -f "$GOTOOLDIR"/go_bootstrap