pdfium-m68k
authorDebian LibreOffice Maintainers <debian-openoffice@lists.debian.org>
Sun, 16 Jan 2022 10:30:18 +0000 (10:30 +0000)
committerRene Engelhard <rene@debian.org>
Sun, 16 Jan 2022 10:30:18 +0000 (10:30 +0000)
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 22084c0a083640a2e88ec88b9114f0fa799884ef..6fd080e644fbb1299eaa1c43639a9bf913c67ffd 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