Server-Root/libraries/build_breakpad.sh

16 lines
364 B
Bash
Executable File

cd breakpad/
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
cd build
../configure
make CXXFLAGS="-std=c++11 ${CXX_FLAGS}" CFLAGS="${C_FLAGS}" ${MAKE_OPTIONS}
sudo make install