mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02:00
Replace -fstack-protector-all with -fstack-protector-strong to avoid slowdown of functions not using stack
This commit is contained in:
parent
5e1fb6ebbf
commit
f4afa762d8
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ RUN python3 -m pip install meson ninja
|
||||||
ENV AR gcc-ar
|
ENV AR gcc-ar
|
||||||
ENV RANLIB gcc-ranlib
|
ENV RANLIB gcc-ranlib
|
||||||
ENV NM gcc-nm
|
ENV NM gcc-nm
|
||||||
ENV CFLAGS {% if DEBUG %}-g{% endif %} -O3 {% if LTO %}-flto=auto -ffat-lto-objects{% endif %} -pipe -fPIC -fno-strict-aliasing -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fstack-protector-all -fstack-clash-protection -fcf-protection -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS
|
ENV CFLAGS {% if DEBUG %}-g{% endif %} -O3 {% if LTO %}-flto=auto -ffat-lto-objects{% endif %} -pipe -fPIC -fno-strict-aliasing -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fstack-protector-strong -fstack-clash-protection -fcf-protection -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS
|
||||||
ENV CXXFLAGS $CFLAGS
|
ENV CXXFLAGS $CFLAGS
|
||||||
|
|
||||||
FROM builder AS patches
|
FROM builder AS patches
|
||||||
|
|
Loading…
Add table
Reference in a new issue