aboutsummaryrefslogtreecommitdiff
path: root/external/easylogging++/CMakeLists.txt
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2017-12-22 21:48:31 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2017-12-31 14:26:12 +0000
commit776b44f17b44b92b08f8cc37ec87e74ac68762ea (patch)
treea2ef598f0454073e7e903b238a817ab755ae4acb /external/easylogging++/CMakeLists.txt
parentMerge pull request #2955 (diff)
downloadmonero-776b44f17b44b92b08f8cc37ec87e74ac68762ea.tar.xz
Add misc hardening flags to the cmake machinery
See https://wiki.debian.org/Hardening#User_Space
Diffstat (limited to 'external/easylogging++/CMakeLists.txt')
-rw-r--r--external/easylogging++/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/external/easylogging++/CMakeLists.txt b/external/easylogging++/CMakeLists.txt
index 97d0bf571..8fe3fa487 100644
--- a/external/easylogging++/CMakeLists.txt
+++ b/external/easylogging++/CMakeLists.txt
@@ -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")