From 0fda4bf075aa752a9e877f7c5b5bd966977a0b81 Mon Sep 17 00:00:00 2001 From: Daan De Meyer Date: Mar 05 2024 17:34:09 +0000 Subject: Build with frame pointers Let's build systemd with frame pointers enabled. It won't be perfect in helping with profiling/debugging but it might help out in some cases. --- diff --git a/systemd.spec b/systemd.spec index 6746c84..23b5b92 100644 --- a/systemd.spec +++ b/systemd.spec @@ -775,6 +775,8 @@ CONFIGURE_OPTS+=( %global _lto_cflags %nil %endif +%global build_cflags %{build_cflags} -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer + { %meson "${CONFIGURE_OPTS[@]}" %{?meson_extra_configure_options} ; } %meson_build