Deal with $(shell ...) being successful on RISC OS and uname -s not returning "riscos"

svn path=/trunk/netsurf/; revision=4040
This commit is contained in:
John Mark Bell 2008-03-23 00:59:09 +00:00
parent 6aaa14e728
commit 4347246eec
1 changed files with 5 additions and 0 deletions

View File

@ -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)