]> source.dussan.org Git - rspamd.git/commit
[Minor] CMake: Add ENABLE_LTO option 3228/head
authorPeter Wu <peter@lekensteyn.nl>
Tue, 21 Jan 2020 04:13:16 +0000 (04:13 +0000)
committerPeter Wu <peter@lekensteyn.nl>
Tue, 21 Jan 2020 04:16:26 +0000 (04:16 +0000)
commit3daf2762a956ee1c578f6320d6caf2885a2a8ea4
treefdc72f29baaf81c5f10bb863a91d8a0f0c48d241
parentaee58d4583b1aec4db06aedf9072205e5e184970
[Minor] CMake: Add ENABLE_LTO option

* The `CMAKE_BUILD_TYPE=None` option is commonly used to respect the
  user's optimization flags. Users may be interested in enabling LTO
  anyway in that case. Implement this the Debian build.
* Remove typo, the value is called RelWithDebInfo. Enable LTO for this
  by default.
cmake/Toolset.cmake
debian/rules