void-packages/srcpkgs/freeimage/patches/disable_arm_neon.patch
2019-12-09 14:23:43 +01:00

10 lines
467 B
Diff

--- Source/LibPNG/pngpriv.h.orig 2018-07-16 11:58:00.000000000 +0200
+++ Source/LibPNG/pngpriv.h 2018-08-07 10:15:53.827327997 +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