commit 915bc3273b85c393e9a0234c3bee2f56b43d223a
Author: Scott Kostyshak <[email protected]>
Date:   Sat Nov 29 17:14:50 2025 +0100

    lyxbuild: for profiler use -fno-omit-frame-pointer
---
 development/lyx-tester/lyxbuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/development/lyx-tester/lyxbuild b/development/lyx-tester/lyxbuild
index 4ab0e3d2f6..d43d642f18 100755
--- a/development/lyx-tester/lyxbuild
+++ b/development/lyx-tester/lyxbuild
@@ -831,7 +831,8 @@ else
   # "hotspot"): -g3 mostly adds macro information, which is useful for stepping
   # in gdb, but irrelevant (and extra overhead) for hotspot profiling so just
   # stick with "-g"
-  #CPPFLAGS_FAST="${CPPFLAGS};-O2;-march=native;-g"
+  # -fno-omit-frame-pointer is also recommended for profilers.
+  #CPPFLAGS_FAST="${CPPFLAGS};-O2;-march=native;-g;-fno-omit-frame-pointer"
   #
   #
   # These flags aren't currently used, but might be useful for better
-- 
lyx-cvs mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-cvs

Reply via email to