Add config.sub update to %configure macro
[platform/upstream/rpm.git] / macros.debug
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).
5
6 %_enable_debug_packages 1
7 %_include_minidebuginfo 1
8 %_include_gdb_index     1
9
10 # Expanded at end of %install scriptlet
11
12 %__arch_install_post %{nil}
13
14 %__os_install_post \
15     %{_rpmconfigdir}/brp-compress \
16     %{!?__debug_package:\
17     %{_rpmconfigdir}/brp-strip %{__strip} \
18     %{_rpmconfigdir}/brp-strip-comment-note %{__strip} %{__objdump} \
19     } \
20     %{_rpmconfigdir}/brp-strip-static-archive %{__strip} \
21 %{nil}
22
23 %__spec_install_post\
24     %{?__debug_package:%{__debug_install_post}}\
25     %{__arch_install_post}\
26     %{__os_install_post}\
27 %{nil}
28
29 %install %{?_enable_debug_packages:%{?buildsubdir:%{debug_package}}}\
30 %%install\
31 %{nil}
32
33 # Should missing buildids terminate a build?
34 %_missing_build_ids_terminate_build    1
35
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
42 # a file altogether.
43 %_dwz_max_die_limit              50000000
44
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}