diff options
author | Sam Clegg <sbc@chromium.org> | 2016-01-14 15:40:05 -0800 |
---|---|---|
committer | Sam Clegg <sbc@chromium.org> | 2016-01-14 15:40:05 -0800 |
commit | 5b2bc895384749493f2ec2ca818c485797448cae (patch) | |
tree | 98a868a584f13538e24a12e070c55d659086c48b /samples/fx_lpng/lpng_v163 | |
parent | 34291b900ad0472eef582215cfce0d942a40fd16 (diff) | |
download | pdfium-5b2bc895384749493f2ec2ca818c485797448cae.tar.xz |
Disable use of missing arm neon function in libpng
This was causing pdfium_diff to fail to link on ARM/linux
due to missing neon-specifc symbols. Ideally we could
add the missing symbols (and update the latest version
of libpng), but that can happen in a separate CL.
R=thestig@chromium.org
Review URL: https://codereview.chromium.org/1581193007 .
Diffstat (limited to 'samples/fx_lpng/lpng_v163')
-rw-r--r-- | samples/fx_lpng/lpng_v163/pngpriv.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/samples/fx_lpng/lpng_v163/pngpriv.h b/samples/fx_lpng/lpng_v163/pngpriv.h index 18965380c8..3cfccb4aff 100644 --- a/samples/fx_lpng/lpng_v163/pngpriv.h +++ b/samples/fx_lpng/lpng_v163/pngpriv.h @@ -130,7 +130,11 @@ /* NEON optimizations are to be at least considered by libpng, so enable the
* callbacks to do this.
*/
-# define PNG_FILTER_OPTIMIZATIONS png_init_filter_functions_neon
+/*
+ * Disabled by sbc since this copy of libpng doesn't contains the arm
+ * specific code (e.g. arm/arm_init.c)
+ */
+/*# define PNG_FILTER_OPTIMIZATIONS png_init_filter_functions_neon*/
#endif
#endif
|