1diff -r -u ./scripts/pnglibconf.h.prebuilt ./scripts/pnglibconf.h.prebuilt
2--- ./scripts/pnglibconf.h.prebuilt
3+++ ./scripts/pnglibconf.h.prebuilt
4@@ -19,6 +19,12 @@
5 #define PNG_ALIGNED_MEMORY_SUPPORTED
6 /*#undef PNG_ARM_NEON_API_SUPPORTED*/
7 /*#undef PNG_ARM_NEON_CHECK_SUPPORTED*/
8+
9+/* Workaround not having a great build file by forcing
10+ * png filter optimization to be disabled on arm */
11+#define PNG_ARM_NEON_OPT 0
12+
13+
14 #define PNG_BENIGN_ERRORS_SUPPORTED
15 #define PNG_BENIGN_READ_ERRORS_SUPPORTED
16 /*#undef PNG_BENIGN_WRITE_ERRORS_SUPPORTED*/
17