mirror of
https://github.com/golang/go
synced 2024-11-21 16:14:42 -07:00
build: explain $PWD use
R=golang-dev, gri CC=golang-dev https://golang.org/cl/4639064
This commit is contained in:
parent
8cab7f5703
commit
2e41120a82
@ -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"
|
||||
|
||||
|
@ -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"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user