]> 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@users.noreply.github.com>
Fri, 18 Sep 2020 13:25:44 +0000 (16:25 +0300)
commitd2810d23a9f30ae885f9bf0783f0847a12972ff3
treea151af3246fe4721e0a8ddf48f3c72492890e9fb
parentf1f47c6c7710291157aa863768d9048aaeaa9530
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.
CMakeLists.txt