diff options
| author | Felix Morgner <felix.morgner@ost.ch> | 2026-09-05 13:19:25 +0200 |
|---|---|---|
| committer | Felix Morgner <felix.morgner@ost.ch> | 2026-09-05 13:19:25 +0200 |
| commit | 9f544dea5dbcdb92f614c6092a60e81d3398b8da (patch) | |
| tree | 2a7098a472b7ef45092c830850b1625492fa04f3 /CMakeLists.txt | |
| parent | c0b2173d6b6c4587d1df3e8ea992ee19c9ff4418 (diff) | |
| download | kernel-9f544dea5dbcdb92f614c6092a60e81d3398b8da.tar.xz kernel-9f544dea5dbcdb92f614c6092a60e81d3398b8da.zip | |
build: enable strong stack protector
Diffstat (limited to 'CMakeLists.txt')
| -rw-r--r-- | CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 34738e18..8f622050 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -76,6 +76,7 @@ add_compile_options( "$<$<CXX_COMPILER_ID:GNU>:-Wextra>" "$<$<CXX_COMPILER_ID:GNU>:-Werror>" "$<$<CXX_COMPILER_ID:GNU>:-pedantic-errors>" + "$<$<CXX_COMPILER_ID:GNU>:-fstack-protector-strong>" ) if(NOT BUILD_TESTING) |
