Add misc hardening flags to the cmake machinery
See https://wiki.debian.org/Hardening#User_Space
This commit is contained in:
+1
@@ -54,4 +54,5 @@ if (BUILD_GUI_DEPS)
|
||||
ARCHIVE DESTINATION ${lib_folder}
|
||||
LIBRARY DESTINATION ${lib_folder})
|
||||
endif()
|
||||
set_property(TARGET easylogging APPEND PROPERTY COMPILE_FLAGS "-fPIC")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user