From af0b8a6b9ba3e6a8a2b9188df5ea79b40c974439 Mon Sep 17 00:00:00 2001 From: Kevin Kofler Date: Thu, 15 Jun 2017 10:16:56 +0200 Subject: [PATCH] Introduce a debug_config macro Introduce a debug_config macro so that the debuginfo settings can be changed more easily. --- qt5-qtwebengine.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/qt5-qtwebengine.spec b/qt5-qtwebengine.spec index 5264934..dc88b37 100644 --- a/qt5-qtwebengine.spec +++ b/qt5-qtwebengine.spec @@ -23,6 +23,10 @@ # FTBFS due to e.g. GCC bug https://bugzilla.redhat.com/show_bug.cgi?id=1282495 %global arm_neon 1 +# the QMake CONFIG flags to force debugging information to be produced in +# release builds, and for all parts of the code +%global debug_config webcore_debug v8base_debug force_debug_info + #global prerelease rc # spellchecking dictionary directory @@ -399,7 +403,7 @@ export NINJA_PATH=%{_bindir}/ninja-build mkdir %{_target_platform} pushd %{_target_platform} -%{qmake_qt5} CONFIG+="webcore_debug v8base_debug force_debug_info" \ +%{qmake_qt5} CONFIG+="%{debug_config}" \ WEBENGINE_CONFIG+="use_system_icu use_spellchecker" .. make %{?_smp_mflags}