build: fix problem with arch-less data on older GNU binutils

Signed-off-by: Shiz <hi@shiz.me>
This commit is contained in:
Shiz 2021-01-15 22:39:32 +01:00 committed by Hector Martin
parent d49d0b781b
commit 73e79c5372

View file

@ -57,7 +57,7 @@ build/%.bin: data/%.png
build/%.o: build/%.bin
@echo " BIN $@"
@$(OBJCOPY) -I binary -O elf64-littleaarch64 $< $@
@$(OBJCOPY) -I binary -B aarch64 -O elf64-littleaarch64 $< $@
build/main.o: build/build_tag.h src/main.c