summaryrefslogtreecommitdiff
path: root/frontends/riscos/Makefile
diff options
context:
space:
mode:
authorJohn-Mark Bell <jmb@netsurf-browser.org>2022-11-03 22:14:34 +0000
committerJohn-Mark Bell <jmb@netsurf-browser.org>2022-11-03 22:17:39 +0000
commit7148d165a57695a6ba6c1c66f883d644d47675ba (patch)
tree87e85dced3acc7fb16a67dac21c7a7a416c5b707 /frontends/riscos/Makefile
parentd8977f781478f67ed7484d0deaab5c3b815271f2 (diff)
downloadnetsurf-7148d165a57695a6ba6c1c66f883d644d47675ba.tar.gz
netsurf-7148d165a57695a6ba6c1c66f883d644d47675ba.tar.bz2
RISC OS: conditionally demand ARMEABISupport in !Run
Will only be enabled if an EABI-aware compiler is used to build the code. At some point, a suitable copy of ARMEABISupport needs adding to the supplied !System.400.Modules along with licensing information in the 3rdParty directory.
Diffstat (limited to 'frontends/riscos/Makefile')
-rw-r--r--frontends/riscos/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/frontends/riscos/Makefile b/frontends/riscos/Makefile
index 1708220ad..2b595916a 100644
--- a/frontends/riscos/Makefile
+++ b/frontends/riscos/Makefile
@@ -114,6 +114,9 @@ MESSAGES_FILTER=ro
$(FRONTEND_SOURCE_DIR)/appdir/!Run$(RUNEXT): $(FRONTEND_SOURCE_DIR)/scripts/Run $(EXETARGET)
$(VQ)echo " MAKERUN: $@"
$(Q)$(MAKERUN) $(EXETARGET) $< $@
+ifeq ($(findstring -elfeabi,$(SUBTARGET)),-elfeabi)
+ $(Q)$(SED) -i -e 's/^|\(RMEnsure ARMEABISupport\)/\1/' $@
+endif
$(FRONTEND_SOURCE_DIR)/appdir/!Help$(RUNEXT): $(FRONTEND_SOURCE_DIR)/scripts/Help
$(VQ)echo " CP: $@"