From 0908b25f474329dc2e1ea91de072e6f40d5dd291 Mon Sep 17 00:00:00 2001 From: Kevin Shanahan Date: Thu, 20 Dec 2012 21:59:29 +1030 Subject: [PATCH] build: don't need (or want) -W arg to pwd on Windows Signed-off-by: Kevin Shanahan --- Makefile | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 5595d6ae..b8ca3d05 100644 --- a/Makefile +++ b/Makefile @@ -16,20 +16,17 @@ TARGET_OS ?= $(HOST_OS) SYSNAME := $(shell uname -s) +TOPDIR := $(shell pwd) ifneq (,$(findstring MINGW32,$(SYSNAME))) HOST_OS = WIN32 -TOPDIR := $(shell pwd -W) else ifneq (,$(findstring $(SYSNAME),FreeBSD NetBSD OpenBSD)) HOST_OS = UNIX UNIX = bsd -TOPDIR := $(shell pwd) else ifneq (,$(findstring $(SYSNAME),Linux)) HOST_OS = UNIX UNIX = linux -#UNIX = null -TOPDIR := $(shell pwd) else $(error OS type not detected.) endif