Commit graph

7 commits

Author SHA1 Message Date
heinrich5991 ad0946df37 Add more hardening flags
- `-fcf-protection` to protect the targets of indirect jumps and
  function returns.
- `-D_GLIBCXX_ASSERTIONS` for bounds-check assertions in the STL.
- `-fstack-clash-protection` to protect against stacks overwriting each
  other.
- `-fstack-protector-strong` instead of `-fstack-protector-all` as it
  apparently gives basically the same benefits at less slowdown.

These flags were taken from
https://developers.redhat.com/blog/2018/03/21/compiler-and-linker-flags-gcc/.
2019-02-03 23:22:40 +01:00
oy a9df25ee21
Merge pull request #2013 from heinrich5991/pr_circleci_cmake
Test CMake on CircleCI
2019-02-03 12:38:07 +01:00
heinrich5991 63d17483d2 Add automatic dependency download to CMake for Windows 2019-02-03 11:25:24 +01:00
heinrich5991 ce59e97724 Make versionsrv's dependency on nethash.cpp explicit 2019-02-03 02:27:19 +01:00
Ryozuki 34781eaa92
Remove the no longer used info.png from cmake 2019-01-25 00:20:56 +01:00
heinrich5991 d6510c8858 Don't hardcode freetype library path 2018-12-25 21:54:26 +01:00
heinrich5991 d2e39d2f50 Add CMake
(cherry picked from commit ee2afdac33)
2018-12-25 21:54:26 +01:00