File tree Expand file tree Collapse file tree 1 file changed +11
-3
lines changed Expand file tree Collapse file tree 1 file changed +11
-3
lines changed Original file line number Diff line number Diff line change @@ -605,10 +605,18 @@ endif
605605HOST_ARCH = -march=native
606606
607607ifdef APPIMAGE
608- HOST_ARCH = -mtune=generic
609- ifneq (,$(filter x86_64-%,$(TARGET_MACHINE)))
608+ ifneq (,$(filter aarch64-%,$(TARGET_MACHINE)))
609+ APPIMAGE_ARCH = aarch64
610+ HOST_ARCH = $(ARM64_GENERIC_ARCH)
611+ else ifneq (,$(filter arm-%-gnueabihf,$(TARGET_MACHINE)))
612+ APPIMAGE_ARCH = armhf
613+ HOST_ARCH = $(ARMV7_GENERIC_ARCH) -mfloat-abi=hard
614+ else ifneq (,$(filter x86_64-%,$(TARGET_MACHINE)))
615+ APPIMAGE_ARCH = x86_64
610616 # We want to run the AppImage on any 64-bit CPU
611- HOST_ARCH += -march=x86-64
617+ HOST_ARCH = -mtune=generic -march=x86-64
618+ else
619+ $(error unsupported AppImage architecture: $(TARGET_MACHINE))
612620 endif
613621endif
614622
You can’t perform that action at this time.
0 commit comments