hughesjr / rpms / golang

Forked from rpms/golang 5 years ago
Clone

Blame SOURCES/golang-1.2-verbose-build.patch

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