[gnome-build-meta/YaLTeR/add-frame-pointers] Add -fno-omit-frame-pointer




commit a41a581a1c49e9da2d6e1ded59a961090d86751f
Author: Ivan Molodetskikh <yalterz gmail com>
Date:   Thu Oct 7 11:20:14 2021 +0000

    Add -fno-omit-frame-pointer
    
    Mirrors https://gitlab.com/freedesktop-sdk/freedesktop-sdk/-/merge_requests/4585 and fixes 
https://gitlab.gnome.org/GNOME/gnome-build-meta/-/issues/441.

 project.conf | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/project.conf b/project.conf
index 96538f72a..1cbebfc3b 100644
--- a/project.conf
+++ b/project.conf
@@ -325,11 +325,11 @@ variables:
   debugdir: "%{indep-libdir}/debug"
   runstatedir: "/run"
   common_flags: "-O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions 
-fstack-protector-strong -grecord-gcc-switches"
-  flags_x86_64: "-march=x86-64 -mtune=generic %{common_flags} -fasynchronous-unwind-tables 
-fstack-clash-protection -fcf-protection %{local_flags}"
+  flags_x86_64: "-march=x86-64 -mtune=generic %{common_flags} -fasynchronous-unwind-tables 
-fstack-clash-protection -fcf-protection -fno-omit-frame-pointer %{local_flags}"
   flags_i686: "-march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign %{common_flags} 
-fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection %{local_flags}"
-  flags_aarch64: "%{common_flags} -fasynchronous-unwind-tables -fstack-clash-protection %{local_flags}"
+  flags_aarch64: "%{common_flags} -fasynchronous-unwind-tables -fstack-clash-protection 
-fno-omit-frame-pointer %{local_flags}"
   flags_arm: "%{common_flags} %{local_flags}"
-  flags_ppc64le: "%{common_flags} -mcpu=power9 -mtune=power9 %{local_flags}"
+  flags_ppc64le: "%{common_flags} -mcpu=power9 -mtune=power9 -fno-omit-frame-pointer %{local_flags}"
   flags_riscv64: "%{common_flags} -fasynchronous-unwind-tables -fstack-clash-protection %{local_flags}"
   ldflags_defaults: "-Wl,-z,relro,-z,now -Wl,--as-needed -L%{libdir}"
   local_flags: ''


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]