diff --git a/third_party/build_breakpad.sh b/third_party/build_breakpad.sh index 2600858..d824691 100755 --- a/third_party/build_breakpad.sh +++ b/third_party/build_breakpad.sh @@ -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"