1
0
mirror of https://github.com/golang/go synced 2024-09-28 20:24:29 -06:00

build: explain $PWD use

R=golang-dev, gri
CC=golang-dev
https://golang.org/cl/4639064
This commit is contained in:
Russ Cox 2011-06-22 17:00:46 -04:00
parent 8cab7f5703
commit 2e41120a82
2 changed files with 2 additions and 0 deletions

View File

@ -36,6 +36,7 @@ y.tab.c: y.tab.h
all: $(TARG)
# Use $(PWD)/$*.c so that gdb shows full path in stack traces.
%.$(HOST_O): %.c
$(HOST_CC) $(HOST_CFLAGS) -c "$(PWD)/$*.c"

View File

@ -6,6 +6,7 @@
all: $(LIB)
# Use $(PWD)/$*.c so that gdb shows full path in stack traces.
%.$(HOST_O): %.c
$(HOST_CC) $(HOST_CFLAGS) -c "$(PWD)/$*.c"