summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index d8417d504..ef46cb8c7 100644
--- a/Makefile
+++ b/Makefile
@@ -36,6 +36,11 @@ HOST := $(shell uname -s)
ifeq ($(HOST),)
HOST := riscos
$(warning Build platform determination failed but that's a known problem for RISC OS so we're assuming a native RISC OS build.)
+else
+ifeq ($(HOST),RISC OS)
+# Fixup uname -s returning "RISC OS"
+HOST := riscos
+endif
endif
ifeq ($(HOST),riscos)