diff options
author | John Szakmeister <john@szakmeister.net> | 2014-12-16 06:02:42 -0500 |
---|---|---|
committer | John Szakmeister <john@szakmeister.net> | 2014-12-16 06:02:42 -0500 |
commit | 0a5dad8a10da7988f2c21fa26bb61aa6ce53205d (patch) | |
tree | 7b731259d5299fce806a6b763312635247b6080b /src | |
parent | 6a193a0e2e22ae31dd04957174b1c958d1b792ec (diff) | |
download | rneovim-0a5dad8a10da7988f2c21fa26bb61aa6ce53205d.tar.gz rneovim-0a5dad8a10da7988f2c21fa26bb61aa6ce53205d.tar.bz2 rneovim-0a5dad8a10da7988f2c21fa26bb61aa6ce53205d.zip |
build: include the flags for the build type in the _FORTIFY_SOURCE check
It turns out the check was being performed without optimizations enabled
even when the CMAKE_BUILD_TYPE was set to a release build. This led to
_FORTIFY_SOURCE's level not being correctly determined, and us failing
to apply the correct workaround.
To counter this, we'll take the default flags for the build type and
apply them. Also, if options are passed via CFLAGS, they are
automatically passed on to the underlying build. So this should cover
all the necessary ground.
This fixes #1647.
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions