Commit 2e41120a authored by Russ Cox's avatar Russ Cox

build: explain $PWD use

R=golang-dev, gri
CC=golang-dev
https://golang.org/cl/4639064
parent 8cab7f57
......@@ -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"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment