Browse code

Set target_path to $(CURDIR)

CURDIR is updated by make -C, PWD is not.

Originally committed as revision 21542 to svn://svn.ffmpeg.org/ffmpeg/trunk

Måns Rullgård authored on 2010/01/31 00:48:55
Showing 1 changed files
... ...
@@ -1449,7 +1449,7 @@ CC_O='-o $@'
1449 1449
 host_cflags='-D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -O3 -g -Wall'
1450 1450
 host_libs='-lm'
1451 1451
 
1452
-target_path='$(PWD)'
1452
+target_path='$(CURDIR)'
1453 1453
 
1454 1454
 # gcc stupidly only outputs the basename of targets with -MM, but we need the
1455 1455
 # full relative path for objects in subdirectories for non-recursive Make.