diff --git a/configure b/configure index 6a642843ef..d4cebfe50b 100755 --- a/configure +++ b/configure @@ -1449,7 +1449,7 @@ CC_O='-o $@' host_cflags='-D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -O3 -g -Wall' host_libs='-lm' -target_path='.' +target_path='$(PWD)' # gcc stupidly only outputs the basename of targets with -MM, but we need the # full relative path for objects in subdirectories for non-recursive Make.