pdfium-m68k
authorDebian LibreOffice Maintainers <debian-openoffice@lists.debian.org>
Tue, 6 Sep 2022 16:54:37 +0000 (17:54 +0100)
committerRene Engelhard <rene@debian.org>
Tue, 6 Sep 2022 16:54:37 +0000 (17:54 +0100)
don't break pdfium build on m68k

FIXME: Make this set by autoconf, most of the defines in build_config.h are not actually
used anyway in pdfium...

Gbp-Pq: Name pdfium-m68k.diff

external/pdfium/configs/build_config.h

index ec93c278767c3d6e4873624ab63f4571e70e3bb2..2e345d1a6b67fc37bff3995310ec5f9dc703e22e 100644 (file)
 #define ARCH_CPU_ARM_FAMILY 1
 #define ARCH_CPU_ARM64 1
 #define ARCH_CPU_64_BITS 1
+#elif defined(__m68k__)
+#define ARCH_CPU_M68K 1
+#define ARCH_CPU_32_BITS 1
 #else
 #error Please add support for your architecture in build/build_config.h
 #endif