]> Cypherpunks repositories - gostls13.git/commitdiff
use full path on command line when compiling,
authorRuss Cox <rsc@golang.org>
Thu, 30 Jul 2009 19:54:38 +0000 (12:54 -0700)
committerRuss Cox <rsc@golang.org>
Thu, 30 Jul 2009 19:54:38 +0000 (12:54 -0700)
so that gdb shows full path in stack traces.

R=r
DELTA=4  (4 added, 0 deleted, 0 changed)
OCL=32522
CL=32528

src/Make.conf

index 417e49b1366825b7920359dc47e95a72fd386948..9c927bae29df4b5d071755349e815efb47cd81f3 100644 (file)
@@ -11,3 +11,7 @@ YFLAGS=-d
 ifndef GOBIN
 GOBIN=$(HOME)/bin
 endif
+PWD=$(shell pwd)
+
+%.$O: %.c
+       $(CC) $(CFLAGS) -c $(PWD)/$*.c