unbound: always build with -fPIC

This commit is contained in:
moneromooo-monero 2018-01-14 18:49:10 +00:00
parent 35d5aa36c9
commit e8d773a049
No known key found for this signature in database
GPG key ID: 686F07454D6CEFC3

View file

@ -50,6 +50,7 @@ else()
add_definitions(-D_GNU_SOURCE) add_definitions(-D_GNU_SOURCE)
endif() endif()
add_definitions(-std=c99) add_definitions(-std=c99)
add_definitions(-fPIC)
option(USE_ECDSA "Use ECDSA algorithms" ON) option(USE_ECDSA "Use ECDSA algorithms" ON)
option(USE_SHA2 "Enable SHA2 support" ON) option(USE_SHA2 "Enable SHA2 support" ON)