RetroPie-Setup/scriptmodules/ports/gzdoom/lzma_armv7_crc.diff
Jools Wills 51f8d7491b gzdoom - fix building 7zip/lzma on armv7 due to missing hardware crc
7zip/lzma assumes hardware crc support on arm, which breaks compilation on armv7.

Disable the check so it falls back to a software implementation.

Same fix as for mame with 508f3d1e64
2024-03-19 23:10:32 +00:00

11 lines
207 B
Diff

--- a/libraries/lzma/C/7zCrc.c
+++ b/libraries/lzma/C/7zCrc.c
@@ -71,7 +71,7 @@
#ifdef MY_CPU_LE
-#if defined(MY_CPU_ARM_OR_ARM64)
+#if defined(MY_CPU_ARM_OR_ARM64) && 0
// #pragma message("ARM*")