Use global c(xx)flags for breakpad in Docker, just not LTO

This commit is contained in:
Ilya Fedin 2025-04-04 12:43:51 +04:00 committed by John Preston
parent dec8bdb39d
commit 0aa1031270

View file

@ -756,7 +756,7 @@ FROM builder AS breakpad
RUN git clone -b v2024.02.16 --depth=1 https://chromium.googlesource.com/breakpad/breakpad.git \
&& cd breakpad \
&& git clone -b v2024.02.01 --depth=1 https://chromium.googlesource.com/linux-syscall-support.git src/third_party/lss \
&& env -u CFLAGS -u CXXFLAGS ./configure \
&& CFLAGS="$CFLAGS -fno-lto" CXXFLAGS="$CXXFLAGS -fno-lto" ./configure \
&& make -j$(nproc) \
&& make DESTDIR="{{ LibrariesPath }}/breakpad-cache" install \
&& cd .. \