mirror of
https://github.com/golang/go
synced 2024-11-13 17:30:24 -07:00
Make.pkg: never use quietgcc
R=iant CC=golang-dev https://golang.org/cl/2033041
This commit is contained in:
parent
bead166a7c
commit
9f24d3686f
10
src/Make.pkg
10
src/Make.pkg
@ -8,6 +8,16 @@ testpackage: _test/$(TARG).a
|
|||||||
|
|
||||||
include $(QUOTED_GOROOT)/src/Make.common
|
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
|
# GNU Make 3.80 has a bug in lastword
|
||||||
# elem=$(lastword $(subst /, ,$(TARG)))
|
# elem=$(lastword $(subst /, ,$(TARG)))
|
||||||
TARG_words=$(subst /, ,$(TARG))
|
TARG_words=$(subst /, ,$(TARG))
|
||||||
|
Loading…
Reference in New Issue
Block a user