fixed missing static glibc version

This commit is contained in:
WolverinDEV 2019-07-05 23:08:11 +02:00
parent b0cd06f916
commit 2f222ec937

View File

@ -19,7 +19,7 @@ check_err_exit ${library_path} "Failed to enter build directory!"
../configure
check_err_exit ${library_path} "Failed to configure"
make CXXFLAGS="-std=c++11 -I../../boringssl/include/ ${CXX_FLAGS}" CFLAGS="${C_FLAGS}" ${MAKE_OPTIONS}
make CXXFLAGS="-std=c++11 -I../../boringssl/include/ ${CXX_FLAGS} -static-libgcc -static-libstdc++" CFLAGS="${C_FLAGS}" ${MAKE_OPTIONS}
check_err_exit ${library_path} "Failed to build"
sudo make install
check_err_exit ${library_path} "Failed to install"