]> wagner.pp.ru Git - openssl-gost/engine.git/commit
Provide cmake test if alignment requirement is strict
authorVitaly Chikunov <vt@altlinux.org>
Thu, 17 Sep 2020 22:47:27 +0000 (01:47 +0300)
committerDmitry Belyavskiy <beldmit@gmail.com>
Fri, 18 Sep 2020 13:29:54 +0000 (16:29 +0300)
commit16b2dd87b36105d549b29ee0f34284350c8024c0
treec6d8742062b64f68a6cdfcfa5da983d83c572a01
parentfc2f9624c3ae1319eb57ba0920f4ffd7069088c8
Provide cmake test if alignment requirement is strict

This is based on AX_CHECK_ALIGNED_ACCESS_REQUIRED from autoconf-archive.

Note, that on some arches unaligned access behavior could be changed at
runtime via prctl(1). Also, unaligned memory access is still slower (and
very slow on some arches) even if it's not strictly required.

(cherry picked from commit d2810d23a9f30ae885f9bf0783f0847a12972ff3)
CMakeLists.txt