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:
parent
6aaa14e728
commit
4347246eec
5
Makefile
5
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)
|
||||
|
|
Loading…
Reference in New Issue