Commit fe162ee2 authored by Millian Poquet's avatar Millian Poquet
Browse files

[obfh] compilation stack guard

parent 1c69ac65
......@@ -116,6 +116,8 @@ target_link_libraries(batsim
install(PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/batsim
DESTINATION bin)
set(CMAKE_CXX_FLAGS "-fstack-protector -fstack-protector-all")
# Let's enable warnings if needed
if (enable_warnings)
set(warning_flags " -Wall -Wextra")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment