1 # macros to include to generate debuginfo
2 # Note don't define/enable a feature here if it is already the default in
3 # macros.in. Otherwise it cannot simply be --undefined on the command line
4 # in the tests (it needs to be undefined multiple times then).
6 %_enable_debug_packages 1
7 %_include_minidebuginfo 1
10 # Expanded at end of %install scriptlet
12 %__arch_install_post %{nil}
15 %{_rpmconfigdir}/brp-compress \
17 %{_rpmconfigdir}/brp-strip %{__strip} \
18 %{_rpmconfigdir}/brp-strip-comment-note %{__strip} %{__objdump} \
20 %{_rpmconfigdir}/brp-strip-static-archive %{__strip} \
24 %{?__debug_package:%{__debug_install_post}}\
25 %{__arch_install_post}\
29 %install %{?_enable_debug_packages:%{?buildsubdir:%{debug_package}}}\
33 # Should missing buildids terminate a build?
34 %_missing_build_ids_terminate_build 1
36 # Number of debugging information entries (DIEs) above which
37 # dwz will stop considering file for multifile optimizations
38 # and enter a low memory mode, in which it will optimize
39 # in about half the memory needed otherwise.
40 %_dwz_low_mem_die_limit 10000000
41 # Number of DIEs above which dwz will stop processing
43 %_dwz_max_die_limit 50000000
45 %_find_debuginfo_dwz_opts --run-dwz\\\
46 --dwz-low-mem-die-limit %{_dwz_low_mem_die_limit}\\\
47 --dwz-max-die-limit %{_dwz_max_die_limit}