fix for aarch64 and 32-bit Debian 11 by Andrew
[goodguy/cinelerra.git] / cinelerra-5.1 / guicast / Makefile
index cf189dea6d25e5d9c481b3628a30e7657cc9c57c..57cfb21f2ed72c315d5c75855d47be0c11a0c15a 100644 (file)
@@ -12,6 +12,14 @@ ifeq ($(OBJDIR), amd64)
 BOOTSTRAPFLAGS := -DBOOTSTRAP="\"objcopy -B i386 -I binary -O elf64-x86-64\""
 endif
 
+ifeq ($(OBJDIR), armv8l)
+BOOTSTRAPFLAGS := -DBOOTSTRAP="\"objcopy -B arm -I binary -O elf32-littlearm\""
+endif
+
+ifeq ($(OBJDIR), aarch64)
+BOOTSTRAPFLAGS := -DBOOTSTRAP="\"objcopy -B aarch64 -I binary -O elf64-littleaarch64\""
+endif
+
 $(shell mkdir -p $(OBJDIR) )
 
 OBJS = \