diff options
-rw-r--r-- | Makefile.sources | 2 | ||||
-rw-r--r-- | Makefile.unix | 12 |
2 files changed, 11 insertions, 3 deletions
diff --git a/Makefile.sources b/Makefile.sources index ed6968086..0bd3a21cf 100644 --- a/Makefile.sources +++ b/Makefile.sources @@ -104,7 +104,7 @@ CLEANS += clean-intermediates ifeq ($(TARGET),riscos) SOURCES := $(S_COMMON) $(S_IMAGE) $(S_BROWSER) $(S_RISCOS) -EXETARGET := !NetSurf/!RunImage,ff8 +EXETARGET := !NetSurf/!RunImage$(EXEEXT) endif ifeq ($(TARGET),gtk) diff --git a/Makefile.unix b/Makefile.unix index b7d35750d..e59163f71 100644 --- a/Makefile.unix +++ b/Makefile.unix @@ -11,8 +11,8 @@ # make -f Makefile.unix TARGET=riscos # to cross-build for RO. # -# Thus-far only tested on unix platforms. on RO in theory it ought to -# work as per the native build. +# Tested on unix platforms (building for GTK and cross-compiling for RO) and +# on RO (building for RO). # # To clean, invoke as above, with the 'clean' target # @@ -24,6 +24,12 @@ all: all-program # Determine host type +# NOTE: Currently, this is broken on RISC OS due to what appear to +# be bugs in UnixLib's pipe()/dup2() implementations. Until these +# are fixed and a new build of make is available, manually hardcode +# this to "riscos" (sans quotes). Please remember to change it back +# to "$(shell uname -s)" (sans quotes) again before committing any +# Makefile changes. HOST := $(shell uname -s) ifeq ($(HOST),riscos) @@ -66,9 +72,11 @@ ifeq ($(TARGET),riscos) ifeq ($(HOST),riscos) # Build for RO on RO CC := gcc +EXEEXT := else # Cross-build for RO CC := /home/riscos/cross/bin/gcc +EXEEXT := ,ff8 endif STARTGROUP := ENDGROUP := |