diff options
author | Aqua-sama <aqua@iserlohn-fortress.net> | 2020-01-24 16:47:05 +0200 |
---|---|---|
committer | Aqua-sama <aqua@iserlohn-fortress.net> | 2020-01-24 16:47:05 +0200 |
commit | c236ae6575960189ac9d4245969aceef04acfffc (patch) | |
tree | c065bb95173bcfbe2bd73de4fe9c4700b0a37627 /meson.build | |
parent | Merge branch 'bookmarks-subcommand' (diff) | |
download | smolbote-c236ae6575960189ac9d4245969aceef04acfffc.tar.xz |
Move compiler flags to meson.build from pkgbuild
Diffstat (limited to 'meson.build')
-rw-r--r-- | meson.build | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meson.build b/meson.build index 5e50801..2e7ec72 100644 --- a/meson.build +++ b/meson.build @@ -31,6 +31,7 @@ add_project_arguments(cxx.get_supported_arguments([ '-ffunction-sections', # Place each function into its own section, better ASLR but larger executables '-fstack-protector-all', # Emit code to check for buffer overflows on all functions '-fstack-clash-protection', # Emit code to check for stack clash attacks + '-flto=4', '-mspeculative-load-hardening', # Spectre v1 mitigation |