]> Cypherpunks repositories - gostls13.git/commitdiff
Make.pkg: never use quietgcc
authorRuss Cox <rsc@golang.org>
Fri, 27 Aug 2010 00:21:34 +0000 (20:21 -0400)
committerRuss Cox <rsc@golang.org>
Fri, 27 Aug 2010 00:21:34 +0000 (20:21 -0400)
R=iant
CC=golang-dev
https://golang.org/cl/2033041

src/Make.pkg

index 1f5f2823b910a85a0807761c37caf9ffd25b0234..4c464497a0282bf78c8f979462336debe19a218c 100644 (file)
@@ -8,6 +8,16 @@ testpackage: _test/$(TARG).a
 
 include $(QUOTED_GOROOT)/src/Make.common
 
+# The quietgcc wrapper is for our own source code
+# while building the libraries, not arbitrary source code
+# as encountered by cgo.
+ifeq ($(HOST_CC),quietgcc)
+HOST_CC:=gcc
+endif
+ifeq ($(HOST_LD),quietgcc)
+HOST_LD:=gcc
+endif
+
 # GNU Make 3.80 has a bug in lastword
 # elem=$(lastword $(subst /, ,$(TARG)))
 TARG_words=$(subst /, ,$(TARG))