From af0b8a6b9ba3e6a8a2b9188df5ea79b40c974439 Mon Sep 17 00:00:00 2001 From: Kevin Kofler Date: Jun 15 2017 08:16:56 +0000 Subject: Introduce a debug_config macro Introduce a debug_config macro so that the debuginfo settings can be changed more easily. --- 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}