From 8d00754229423723a6ce256608eb793ca4766ea7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jani=20V=C3=A4limaa?= Date: Tue, 21 Nov 2023 11:26:30 +0200 Subject: macros: set -g when building Vala applications From https://src.fedoraproject.org/rpms/redhat-rpm-config/c/d097058 Set -g when building Vala applications This requires the build system support VALAFLAGS. At least Meson and Automake do. Using -g is desired because it allows us to see Vala source files and line numbers in backtraces when possible, falling back to generated C code otherwise. Line numbers for generated C are almost always less useful when debugging crashes. --- NEWS | 1 + 1 file changed, 1 insertion(+) (limited to 'NEWS') diff --git a/NEWS b/NEWS index 0068a70..227afd1 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,4 @@ +- macros: set -g when building Vala applications - macros: make _FORTIFY_SOURCE flags configurable via %_fortify_level variable - macros: undefine _FORTIFY_SOURCE before defining it to avoid build warnings on some packages defining it already -- cgit v1.2.1