summaryrefslogtreecommitdiff
path: root/makefiles/gmake/platform.mk
diff options
context:
space:
mode:
authorAndreas Baumann <abaumann@yahoo.com>2009-03-10 12:54:04 +0100
committerAndreas Baumann <abaumann@yahoo.com>2009-03-10 12:54:04 +0100
commita6b606fd903e4c7dd188fe6a8dd35ed583e54cbf (patch)
treed4cb10c8ca01bbba134a1474569a1d957f9df444 /makefiles/gmake/platform.mk
parentc84d22783b0ef98d30aa413b36e9fdcb69b69101 (diff)
downloadwolfbones-a6b606fd903e4c7dd188fe6a8dd35ed583e54cbf.tar.gz
wolfbones-a6b606fd903e4c7dd188fe6a8dd35ed583e54cbf.tar.bz2
fixed CURDIR issues with spaces in platform guessing
Diffstat (limited to 'makefiles/gmake/platform.mk')
-rw-r--r--makefiles/gmake/platform.mk8
1 files changed, 4 insertions, 4 deletions
diff --git a/makefiles/gmake/platform.mk b/makefiles/gmake/platform.mk
index ba3e8d0..87dc2d5 100644
--- a/makefiles/gmake/platform.mk
+++ b/makefiles/gmake/platform.mk
@@ -18,10 +18,10 @@
-include $(TOPDIR)/makefiles/gmake/platform.mk.vars
-PLATFORM ?= $(shell $(TOPDIR)/makefiles/gmake/guess_env --platform $(CC) $(CURDIR) $(TOPDIR))
-OS_MAJOR_VERSION ?= $(shell $(TOPDIR)/makefiles/gmake/guess_env --os-major-version $(CC) $(CURDIR) $(TOPDIR))
-OS_MINOR_VERSION ?= $(shell $(TOPDIR)/makefiles/gmake/guess_env --os-minor-version $(CC) $(CURDIR) $(TOPDIR))
-COMPILER ?= $(shell $(TOPDIR)/makefiles/gmake/guess_env --compiler $(CC) $(CURDIR) $(TOPDIR))
+PLATFORM ?= $(shell $(TOPDIR)/makefiles/gmake/guess_env --platform $(CC) "$(CURDIR)" $(TOPDIR))
+OS_MAJOR_VERSION ?= $(shell $(TOPDIR)/makefiles/gmake/guess_env --os-major-version $(CC) "$(CURDIR)" $(TOPDIR))
+OS_MINOR_VERSION ?= $(shell $(TOPDIR)/makefiles/gmake/guess_env --os-minor-version $(CC) "$(CURDIR)" $(TOPDIR))
+COMPILER ?= $(shell $(TOPDIR)/makefiles/gmake/guess_env --compiler $(CC) "$(CURDIR)" $(TOPDIR))
PLATFORM_COMPILE_FLAGS = \
-D$(PLATFORM) \