[libpng16] Fixed arm/aarch64 detection in CMakeLists.txt (Gianfranco Costamagna)

This commit is contained in:
Glenn Randers-Pehrson 2016-12-31 13:03:23 -06:00
parent aa5bb2c3dd
commit dd8aa3e939
3 changed files with 7 additions and 4 deletions

View File

@ -1,4 +1,4 @@
Libpng 1.6.28beta01 - December 30, 2016 Libpng 1.6.28beta01 - December 31, 2016
This is not intended to be a public release. It will be replaced This is not intended to be a public release. It will be replaced
within a few weeks by a public version or by another test version. within a few weeks by a public version or by another test version.
@ -25,7 +25,8 @@ Other information:
Changes since the last public release (1.6.27): Changes since the last public release (1.6.27):
Version 1.6.28beta01 [December 30, 2016] Version 1.6.28beta01 [December 31, 2016]
Fixed arm/aarch64 detection in CMakeLists.txt (Gianfranco Costamagna).
Send comments/corrections/commendations to png-mng-implement at lists.sf.net Send comments/corrections/commendations to png-mng-implement at lists.sf.net
(subscription required; visit (subscription required; visit

View File

@ -5774,7 +5774,8 @@ Version 1.6.27 [December 29, 2016]
Fixed a potential null pointer dereference in png_set_text_2() (bug report Fixed a potential null pointer dereference in png_set_text_2() (bug report
and patch by Patrick Keshishian, CVE-2016-10087). and patch by Patrick Keshishian, CVE-2016-10087).
Version 1.6.28beta01 [December 30, 2016] Version 1.6.28beta01 [December 31, 2016]
Fixed arm/aarch64 detection in CMakeLists.txt (Gianfranco Costamagna).
Send comments/corrections/commendations to png-mng-implement at lists.sf.net Send comments/corrections/commendations to png-mng-implement at lists.sf.net
(subscription required; visit (subscription required; visit

View File

@ -71,7 +71,8 @@ set(PNG_PREFIX "" CACHE STRING "Prefix to add to the API function names")
set(DFA_XTRA "" CACHE FILEPATH "File containing extra configuration settings") set(DFA_XTRA "" CACHE FILEPATH "File containing extra configuration settings")
# set definitions and sources for arm # set definitions and sources for arm
if(${CMAKE_SYSTEM_PROCESSOR} MATCHES "^arm") if(${CMAKE_SYSTEM_PROCESSOR} MATCHES "^arm" OR
${CMAKE_SYSTEM_PROCESSOR} MATCHES "^aarch64")
set(PNG_ARM_NEON_POSSIBLE_VALUES check on off) set(PNG_ARM_NEON_POSSIBLE_VALUES check on off)
set(PNG_ARM_NEON "check" CACHE STRING "Enable ARM NEON optimizations: set(PNG_ARM_NEON "check" CACHE STRING "Enable ARM NEON optimizations:
check: (default) use internal checking code; check: (default) use internal checking code;