aboutsummaryrefslogtreecommitdiff
path: root/external/unbound/CMakeLists.txt
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2018-01-14 18:49:10 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2018-01-14 18:51:51 +0000
commite8d773a049487db7982e38b3986d63756fc45f84 (patch)
tree632c836a3bb8d772f0084dda817bf30f533e4862 /external/unbound/CMakeLists.txt
parentMerge pull request #3091 (diff)
downloadmonero-e8d773a049487db7982e38b3986d63756fc45f84.tar.xz
unbound: always build with -fPIC
Diffstat (limited to 'external/unbound/CMakeLists.txt')
-rw-r--r--external/unbound/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/external/unbound/CMakeLists.txt b/external/unbound/CMakeLists.txt
index 99ef62c5a..7d4da33e2 100644
--- a/external/unbound/CMakeLists.txt
+++ b/external/unbound/CMakeLists.txt
@@ -50,6 +50,7 @@ else()
add_definitions(-D_GNU_SOURCE)
endif()
add_definitions(-std=c99)
+add_definitions(-fPIC)
option(USE_ECDSA "Use ECDSA algorithms" ON)
option(USE_SHA2 "Enable SHA2 support" ON)