summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2008-03-23 00:59:09 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2008-03-23 00:59:09 +0000
commit4347246eec544f6ae7fe43757de7cb6361db955f (patch)
tree3c3ae54bdd3e408de8786572ed94af61103a88c3 /Makefile
parent6aaa14e728aa4be5faa36f2d3a367481ddf82777 (diff)
downloadnetsurf-4347246eec544f6ae7fe43757de7cb6361db955f.tar.gz
netsurf-4347246eec544f6ae7fe43757de7cb6361db955f.tar.bz2
Deal with $(shell ...) being successful on RISC OS and uname -s not returning "riscos"
svn path=/trunk/netsurf/; revision=4040
Diffstat (limited to 'Makefile')
-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)