Buildsystem: fix RISC OS AOF matching

This commit is contained in:
John-Mark Bell 2022-11-02 13:55:38 +00:00
parent 1810fbfe22
commit 41f0a5a36e

View File

@ -333,7 +333,7 @@ ifneq ($(TARGET),riscos)
$(Q)$(CC) -o $(EXETARGET) $(OBJECTS) $(LDFLAGS) > $(DEPROOT)/link-raw.d
else
@# RISC OS targets are a bit special: we need to convert ELF -> AIF
ifeq ($(SUBTARGET),riscos-aof)
ifeq ($(SUBTARGET),-aof)
$(Q)$(CC) -o $(EXETARGET) $(OBJECTS) $(LDFLAGS) > $(DEPROOT)/link-raw.d
else
$(Q)$(CXX) -o $(EXETARGET:,ff8=,e1f) $(OBJECTS) $(LDFLAGS) > $(DEPROOT)/link-raw.d