1
0
mirror of https://github.com/golang/go synced 2024-11-25 06:17:58 -07:00

Make.pkg: never use quietgcc

R=iant
CC=golang-dev
https://golang.org/cl/2033041
This commit is contained in:
Russ Cox 2010-08-26 20:21:34 -04:00
parent bead166a7c
commit 9f24d3686f

View 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))