Skip to content
Snippets Groups Projects
Commit 48a476c4 authored by Vladimir Davydov's avatar Vladimir Davydov
Browse files

Revert "build: do not disable hardening on AArch64 systems"

This reverts commit 11c3c12a.

Cherry-picked by mistake. Tarantool 2.10 still depends on libgomp.

NO_DOC=revert
NO_TEST=revert
NO_CHANGELOG=revert
parent 11c3c12a
No related branches found
No related tags found
No related merge requests found
## feature/build
* Hardening against memory corruption attacks is now enabled by default on
AArch64 systems (gh-7536).
# Depends on os.cmake and profile.cmake modules.
# Uses `ENABLE_FUZZER` option and `TARGET_OS_DARWIN` variable.
if (ENABLE_FUZZER)
# ligomp.a for AArch64 CentOS is compiled without PIC support.
if (ENABLE_FUZZER OR ${CMAKE_SYSTEM_PROCESSOR} MATCHES "aarch64")
set(ENABLE_HARDENING_DEFAULT FALSE)
else()
set(ENABLE_HARDENING_DEFAULT TRUE)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment