mirror of https://github.com/golang/go.git
use full path on command line when compiling,
so that gdb shows full path in stack traces. R=r DELTA=4 (4 added, 0 deleted, 0 changed) OCL=32522 CL=32528
This commit is contained in:
parent
517e3457cc
commit
6ccebe082f
|
|
@ -11,3 +11,7 @@ YFLAGS=-d
|
|||
ifndef GOBIN
|
||||
GOBIN=$(HOME)/bin
|
||||
endif
|
||||
PWD=$(shell pwd)
|
||||
|
||||
%.$O: %.c
|
||||
$(CC) $(CFLAGS) -c $(PWD)/$*.c
|
||||
|
|
|
|||
Loading…
Reference in New Issue