summaryrefslogtreecommitdiff
path: root/src/Makefile
diff options
context:
space:
mode:
authorJohn-Mark Bell <jmb@netsurf-browser.org>2022-06-02 23:52:46 +0100
committerJohn-Mark Bell <jmb@netsurf-browser.org>2022-06-02 23:52:46 +0100
commitcaa9c7239d6d608c4c3d4e71e7d08d4de8cc6e4a (patch)
tree6c1e7aac77488b03794b0e6d80236ddf3853ffcc /src/Makefile
parent47b419d2dec6285bf92c7b4c180d103b8bdf24fd (diff)
downloadttf2f-caa9c7239d6d608c4c3d4e71e7d08d4de8cc6e4a.tar.gz
ttf2f-caa9c7239d6d608c4c3d4e71e7d08d4de8cc6e4a.tar.bz2
Tweak RISC OS host detection for new tooling.
The new toolchain has a different machine triplet, so update the things that care about it to work either way. Additionally, ensure that elf2aif is passed the right flags when building for EABI (if not, it will fail hard).
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Makefile b/src/Makefile
index 0265d3f..bfe8aa1 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -4,7 +4,7 @@ DIR_SOURCES := encoding.c ft.c glyphs.c intmetrics.c outlines.c utils.c
ifeq ($(FRONTEND),cli)
DIR_SOURCES := $(DIR_SOURCES) cli.c
else
- ifeq ($(HOST),arm-unknown-riscos)
+ ifeq ($(findstring -riscos,$(HOST)),-riscos)
DIR_SOURCES := $(DIR_SOURCES) toolbox.c
endif
endif