pgreco / 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
9b5743
@@ -161,12 +161,12 @@ if [ "$GOHOSTARCH" != "$GOARCH" -o "$GOH
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 \
4d1d36
-		"$GOTOOLDIR"/go_bootstrap install -ccflags "$GO_CCFLAGS" -gcflags "$GO_GCFLAGS" -ldflags "$GO_LDFLAGS" -v std
4d1d36
+		"$GOTOOLDIR"/go_bootstrap install -ccflags "$GO_CCFLAGS" -gcflags "$GO_GCFLAGS" -ldflags "$GO_LDFLAGS" -v -x std
4d1d36
 	echo
4d1d36
 fi
4d1d36
 
4d1d36
 echo "# Building packages and commands for $GOOS/$GOARCH."
9b5743
-CC=$CC_FOR_TARGET "$GOTOOLDIR"/go_bootstrap install $GO_FLAGS -ccflags "$GO_CCFLAGS" -gcflags "$GO_GCFLAGS" -ldflags "$GO_LDFLAGS" -v std
9b5743
+CC=$CC_FOR_TARGET "$GOTOOLDIR"/go_bootstrap install $GO_FLAGS -ccflags "$GO_CCFLAGS" -gcflags "$GO_GCFLAGS" -ldflags "$GO_LDFLAGS" -v -x std
4d1d36
 echo
4d1d36
 
4d1d36
 rm -f "$GOTOOLDIR"/go_bootstrap