mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02:00
Use C++20 on Linux with GCC 10.
This commit is contained in:
parent
96a3c704d2
commit
12eda0bb26
4 changed files with 8 additions and 24 deletions
2
Telegram/ThirdParty/libtgvoip
vendored
2
Telegram/ThirdParty/libtgvoip
vendored
|
@ -1 +1 @@
|
||||||
Subproject commit 373e41668b265864f8976b83bb66dd6e9a583915
|
Subproject commit 7efc430061aa37945fde7325439236526084c598
|
|
@ -801,38 +801,22 @@ FROM patches AS breakpad
|
||||||
RUN git clone https://chromium.googlesource.com/breakpad/breakpad.git
|
RUN git clone https://chromium.googlesource.com/breakpad/breakpad.git
|
||||||
|
|
||||||
WORKDIR breakpad
|
WORKDIR breakpad
|
||||||
RUN git checkout bc8fb886
|
RUN git checkout dfcb7b6799
|
||||||
|
RUN git apply ../patches/breakpad.diff
|
||||||
RUN git clone https://chromium.googlesource.com/linux-syscall-support.git src/third_party/lss
|
RUN git clone https://chromium.googlesource.com/linux-syscall-support.git src/third_party/lss
|
||||||
|
|
||||||
WORKDIR src/third_party/lss
|
WORKDIR src/third_party/lss
|
||||||
RUN git checkout 8048ece
|
RUN git checkout e1e7b0ad8e
|
||||||
|
|
||||||
WORKDIR ${LibrariesPath}
|
WORKDIR ${LibrariesPath}
|
||||||
|
|
||||||
ENV BreakpadCache ${LibrariesPath}/breakpad-cache
|
ENV BreakpadCache ${LibrariesPath}/breakpad-cache
|
||||||
RUN git clone https://chromium.googlesource.com/external/gyp.git
|
|
||||||
|
|
||||||
WORKDIR gyp
|
WORKDIR breakpad
|
||||||
RUN git checkout 9f2a7bb1
|
|
||||||
RUN git apply ../patches/gyp.diff
|
|
||||||
|
|
||||||
WORKDIR ../breakpad
|
|
||||||
RUN ./configure
|
RUN ./configure
|
||||||
RUN make -j$(nproc)
|
RUN make -j$(nproc)
|
||||||
RUN make DESTDIR="$BreakpadCache" install
|
RUN make DESTDIR="$BreakpadCache" install
|
||||||
|
|
||||||
WORKDIR src
|
|
||||||
RUN rm -rf testing
|
|
||||||
RUN git clone --depth=1 $GIT/google/googletest.git testing
|
|
||||||
|
|
||||||
WORKDIR tools
|
|
||||||
RUN sed -i 's/minidump_upload.m/minidump_upload.cc/' linux/tools_linux.gypi
|
|
||||||
RUN ../../../gyp/gyp --depth=. --generator-output=.. -Goutput_dir=../out tools.gyp --format=cmake
|
|
||||||
|
|
||||||
WORKDIR ../../out/Default
|
|
||||||
RUN cmake .
|
|
||||||
RUN cmake --build . --target dump_syms -j$(nproc)
|
|
||||||
RUN mv dump_syms $BreakpadCache
|
|
||||||
|
|
||||||
WORKDIR ..
|
WORKDIR ..
|
||||||
RUN rm -rf gyp
|
RUN rm -rf gyp
|
||||||
|
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
Subproject commit abfd5788516b5e96075c7b7982112d904be43ab6
|
Subproject commit bd7c085bd019ec4a012154c3d290769672932a4e
|
2
cmake
2
cmake
|
@ -1 +1 @@
|
||||||
Subproject commit 2034686f01d2207bde5b060e71a416f2f4419287
|
Subproject commit 34407481713f987ea8b74bb949fd3d79e123e3c7
|
Loading…
Add table
Reference in a new issue