ports/emulators/mame/files/patch-3rdparty_lzma_C_Sha256Opt.c
Robert Clausecker cb40b0a439 emulators/mame: fix build on armv7 and arm64
Port now bundles LZMA with known build issues.  Import patch set from
archivers/7-zip to fix the build on armv7 and arm64.

PR:		271987
Approved by:	portmgr (build fix blanket)
Obtained from:	archivers/7-zip
2023-06-27 01:30:28 +02:00

12 lines
337 B
C

--- 3rdparty/lzma/C/Sha256Opt.c.orig 2023-05-30 17:50:57 UTC
+++ 3rdparty/lzma/C/Sha256Opt.c
@@ -212,7 +212,7 @@ void MY_FAST_CALL Sha256_UpdateBlocks_HW(UInt32 state[
#endif // USE_HW_SHA
-#elif defined(MY_CPU_ARM_OR_ARM64)
+#elif defined(MY_CPU_ARM64)
#if defined(__clang__)
#if (__clang_major__ >= 8) // fix that check