aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/regexp.c
diff options
context:
space:
mode:
authorFlorian Walch <florian@fwalch.com>2015-06-04 12:08:26 +0300
committerFlorian Walch <florian@fwalch.com>2015-06-04 13:43:02 +0300
commit2271b746d7853d336f63480415c43d57fa39fb44 (patch)
tree842e830ed9e7c8984bf48e9a622c55e385ea164c /src/nvim/regexp.c
parent27dc31597536e527f3d0cf01e67a88d31818b284 (diff)
downloadrneovim-2271b746d7853d336f63480415c43d57fa39fb44.tar.gz
rneovim-2271b746d7853d336f63480415c43d57fa39fb44.tar.bz2
rneovim-2271b746d7853d336f63480415c43d57fa39fb44.zip
CMake: Fix _FORTIFY_SOURCE detection when using hardening-wrapper. #2788
When checking code with check_c_source_compiles, the "check variable" (for the _FORTIFY_SOURCE detection: previously _FORTIFY_SOURCE_ACCEPTABLE, now HAS_ACCEPTABLE_FORTIFY) is passed to the compiler like -D_FORTIFY_SOURCE_ACCEPTABLE. This throws off hardening-wrapper [1], which then NOT sets _FORTIFY_SOURCE=2 for the check, assuming it had already been set manually as it detected -D_FORTIFY_SOURCE*. Renaming the "check variable" to not match this pattern works around this problem. [1] https://github.com/thestinger/hardening-wrapper
Diffstat (limited to 'src/nvim/regexp.c')
0 files changed, 0 insertions, 0 deletions