From 6ccebe082fa311e06216707717fbd3887052eea6 Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Thu, 30 Jul 2009 12:54:38 -0700 Subject: [PATCH] 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 --- src/Make.conf | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/Make.conf b/src/Make.conf index 417e49b136..9c927bae29 100644 --- a/src/Make.conf +++ b/src/Make.conf @@ -11,3 +11,7 @@ YFLAGS=-d ifndef GOBIN GOBIN=$(HOME)/bin endif +PWD=$(shell pwd) + +%.$O: %.c + $(CC) $(CFLAGS) -c $(PWD)/$*.c -- 2.48.1