Introduce a debug_config macro

Introduce a debug_config macro so that the debuginfo settings can be
changed more easily.
This commit is contained in:
Kevin Kofler 2017-06-15 10:16:56 +02:00
parent 593264c716
commit af0b8a6b9b

View File

@ -23,6 +23,10 @@
# FTBFS due to e.g. GCC bug https://bugzilla.redhat.com/show_bug.cgi?id=1282495 # FTBFS due to e.g. GCC bug https://bugzilla.redhat.com/show_bug.cgi?id=1282495
%global arm_neon 1 %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 #global prerelease rc
# spellchecking dictionary directory # spellchecking dictionary directory
@ -399,7 +403,7 @@ export NINJA_PATH=%{_bindir}/ninja-build
mkdir %{_target_platform} mkdir %{_target_platform}
pushd %{_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" .. WEBENGINE_CONFIG+="use_system_icu use_spellchecker" ..
make %{?_smp_mflags} make %{?_smp_mflags}