Bug 6581 - Move definition of PWD higher than where it is initially used
[asterisk/asterisk.git] / Makefile
index 7ac1f4f..7414bef 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -33,6 +33,8 @@ else
   OSREV=$(CROSS_REV)
 endif
 
+PWD=$(shell pwd)
+
 # Remember the MAKELEVEL at the top
 MAKETOPLEVEL?=$(MAKELEVEL)
 
@@ -222,7 +224,6 @@ ifeq ($(OSARCH),Linux)
   MPG123TARG=linux
 endif
 
-PWD=$(shell pwd)
 GREP=grep
 
 ifeq ($(OSARCH),SunOS)