aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2018-01-18 18:14:34 -0500
committerRiccardo Spagni <ric@spagni.net>2018-01-18 18:14:34 -0500
commit5f09d6c8333b0b0d07252dc157b9e794f6278662 (patch)
treec66a5c4901a1679cb48c664ffdc2c2e1bacc12df
parentMerge pull request #3107 (diff)
parentunbound: always build with -fPIC (diff)
downloadmonero-5f09d6c8333b0b0d07252dc157b9e794f6278662.tar.xz
Merge pull request #3115
e8d773a0 unbound: always build with -fPIC (moneromooo-monero)
-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)