Fixed missing -fPIC parameter
This commit is contained in:
parent
eed058ab16
commit
0a9e3f0eae
2
third_party/build_unbound.sh
vendored
2
third_party/build_unbound.sh
vendored
@ -31,7 +31,7 @@ if [[ ${build_os_type} == "linux" ]]; then
|
|||||||
# --with-ssl=${library_boringssl}
|
# --with-ssl=${library_boringssl}
|
||||||
../../configure --with-libunbound-only --with-libevent=${library_event} --enable-event-api --enable-shared=no --enable-static=yes --with-pthreads --enable-pic --prefix=`pwd`
|
../../configure --with-libunbound-only --with-libevent=${library_event} --enable-event-api --enable-shared=no --enable-static=yes --with-pthreads --enable-pic --prefix=`pwd`
|
||||||
check_err_exit ${library_path} "Failed to configure build"
|
check_err_exit ${library_path} "Failed to configure build"
|
||||||
make CXXFLAGS="${CXX_FLAGS}" CFLAGS="${C_FLAGS}" ${MAKE_OPTIONS}
|
make CXXFLAGS="${CXX_FLAGS}" CFLAGS="${C_FLAGS} -fPIC" ${MAKE_OPTIONS}
|
||||||
check_err_exit ${library_path} "Failed to build"
|
check_err_exit ${library_path} "Failed to build"
|
||||||
make install
|
make install
|
||||||
check_err_exit ${library_path} "Failed to install"
|
check_err_exit ${library_path} "Failed to install"
|
||||||
|
Loading…
Reference in New Issue
Block a user