summaryrefslogtreecommitdiff
path: root/src/Make.pkg
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2010-08-26 20:21:34 -0400
committerRuss Cox <rsc@golang.org>2010-08-26 20:21:34 -0400
commitafb164665b18ec79513f07c6f6665a43675e56ed (patch)
tree5d6d8159ddfec90b5f25cb44617e5cac9799003a /src/Make.pkg
parent495a0181b7b84ca2aa29a38b0ba5cec269073b4e (diff)
downloadgo-afb164665b18ec79513f07c6f6665a43675e56ed.tar.gz
Make.pkg: never use quietgcc
R=iant CC=golang-dev http://codereview.appspot.com/2033041
Diffstat (limited to 'src/Make.pkg')
-rw-r--r--src/Make.pkg10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/Make.pkg b/src/Make.pkg
index 1f5f2823b..4c464497a 100644
--- a/src/Make.pkg
+++ b/src/Make.pkg
@@ -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))