Server-Root/libraries/build_breakpad.sh

16 lines
364 B
Bash
Raw Normal View History

2018-08-08 10:21:32 -04:00
cd breakpad/
2019-10-13 12:52:17 -04:00
if [[ ! -d src/third_party/lss ]]; then
echo "Closing LSS into breakpad"
git clone https://chromium.googlesource.com/linux-syscall-support src/third_party/lss
[[ $? -ne 0 ]] && {
echo "Failed to close LSS. Abort"
exit 1
}
fi
2018-08-08 10:21:32 -04:00
cd build
../configure
2020-03-02 12:43:38 -05:00
make CXXFLAGS="-std=c++11 ${CXX_FLAGS}" CFLAGS="${C_FLAGS}" ${MAKE_OPTIONS}
2018-08-08 15:51:41 -04:00
sudo make install