diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2008-03-23 00:59:09 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2008-03-23 00:59:09 +0000 |
commit | 4347246eec544f6ae7fe43757de7cb6361db955f (patch) | |
tree | 3c3ae54bdd3e408de8786572ed94af61103a88c3 | |
parent | 6aaa14e728aa4be5faa36f2d3a367481ddf82777 (diff) | |
download | netsurf-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
-rw-r--r-- | Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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) |