]> 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:30:34 +0000 (16:30 +0300)
commit6a2542d1e514bb8f37f8307fa10e33ad3e092014
treead4d5a87f361917f819777f99b8cc2f54710da75
parent5cd9a218ba5191435e0dbf47051c6d81f1a39925
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