void-packages/srcpkgs/ccextractor/patches/disable_arm_neon.patch

11 lines
475 B
Diff

--- a/src/thirdparty/libpng/pngpriv.h 2021-06-13 21:05:33.000000000 +0200
+++ b/src/thirdparty/libpng/pngpriv.h 2021-06-17 17:35:17.217940102 +0200
@@ -107,6 +107,7 @@
* this in $(CC), e.g. "CC=gcc -mfpu=neon", but people who build libpng rarely
* do this.
*/
+#define PNG_ARM_NEON_OPT 0
#ifndef PNG_ARM_NEON_OPT
/* ARM NEON optimizations are being controlled by the compiler settings,
* typically the target FPU. If the FPU has been set to NEON (-mfpu=neon