diff options
| -rw-r--r-- | server/CMakeLists.txt | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/server/CMakeLists.txt b/server/CMakeLists.txt index 014ec7c..7522dbe 100644 --- a/server/CMakeLists.txt +++ b/server/CMakeLists.txt | |||
| @@ -4,8 +4,7 @@ project(routemon LANGUAGES CXX) | |||
| 4 | 4 | ||
| 5 | # Hardening options from https://best.openssf.org/Compiler-Hardening-Guides/Compiler-Options-Hardening-Guide-for-C-and-C++.html | 5 | # Hardening options from https://best.openssf.org/Compiler-Hardening-Guides/Compiler-Options-Hardening-Guide-for-C-and-C++.html |
| 6 | add_compile_options( | 6 | add_compile_options( |
| 7 | # -O2 | 7 | -O2 |
| 8 | # -g | ||
| 9 | -fno-omit-frame-pointer | 8 | -fno-omit-frame-pointer |
| 10 | -Wall -Wextra -Wformat -Wformat=2 -Wconversion -Wimplicit-fallthrough | 9 | -Wall -Wextra -Wformat -Wformat=2 -Wconversion -Wimplicit-fallthrough |
| 11 | -Werror=format-security | 10 | -Werror=format-security |