fixed boringssl build script
This commit is contained in:
parent
4397ba0ef2
commit
c41f9d2553
4
third_party/build_boringssl.sh
vendored
4
third_party/build_boringssl.sh
vendored
@ -36,11 +36,11 @@ if [[ "x86" == "${build_os_arch}" ]]; then
|
||||
T32="-DCMAKE_TOOLCHAIN_FILE=../util/32-bit-toolchain.cmake"
|
||||
fi
|
||||
|
||||
cmake .. -DOPENSSL_NO_ASM=ON -DBUILD_SHARED_LIBS=ON -DCMAKE_CXX_FLAGS="${CXX_FLAGS}" -DCMAKE_C_FLAGS="${C_FLAGS}" -DCMAKE_BUILD_TYPE=Release ${CMAKE_OPTIONS} -DCMAKE_VERBOSE_MAKEFILE=1 ${T32}
|
||||
cmake .. -DOPENSSL_NO_ASM=ON -DCMAKE_CXX_FLAGS="-Wno-error=format= -Wno-error=format-extra-args" -DBUILD_SHARED_LIBS=ON -DCMAKE_CXX_FLAGS="${CXX_FLAGS}" -DCMAKE_C_FLAGS="${C_FLAGS}" -DCMAKE_BUILD_TYPE=Release ${CMAKE_OPTIONS} -DCMAKE_VERBOSE_MAKEFILE=1 ${T32}
|
||||
check_err_exit ${library_path} "Failed to execute cmake!"
|
||||
make ${CMAKE_MAKE_OPTIONS}
|
||||
check_err_exit ${library_path} "Failed to build!"
|
||||
#sudo make install
|
||||
#make install
|
||||
cd ../..
|
||||
|
||||
set_build_successful ${library_path}
|
Loading…
Reference in New Issue
Block a user