cutter/scripts/prepare_breakpad_linux.sh
karliss 92b28679f2
Move Ubuntu 16.04 sytem dependencies build to GHA. ()
* Move Ubuntu 16.04 sytem dependencies build to GHA.

* Downgrade some of the software installed on Github VMs to better match
what's available on Ubuntu 16.04
* Disable breakpad tools, we dont use them and some of them require fresh linux kernel for compilation.
2020-11-25 17:33:30 +02:00

12 lines
339 B
Bash
Executable File

#!/bin/sh
set -euo pipefail
git clone https://github.com/google/breakpad.git
cd breakpad
git clone https://chromium.googlesource.com/linux-syscall-support src/third_party/lss
CFLAGS=-w CXXFLAGS=-w ./configure --disable-tools --prefix=`pwd`/prefix && make -j4 && make install || exit 1
export CUSTOM_BREAKPAD_PREFIX="`pwd`/prefix"
cd ..