diff options
author | Thierry Vignaud <tv@mageia.org> | 2012-07-27 17:38:50 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mageia.org> | 2012-07-27 17:38:50 +0000 |
commit | e8cee3d3957786e8682ddf7077659575a2cf8052 (patch) | |
tree | 4d7470b2af92def5f6ffd4a1ee7e58b104b003c0 /build.macros.in | |
parent | 745375fc12c97c3560fed10a066a5cdc6f8cd457 (diff) | |
download | rpm-setup-e8cee3d3957786e8682ddf7077659575a2cf8052.tar rpm-setup-e8cee3d3957786e8682ddf7077659575a2cf8052.tar.gz rpm-setup-e8cee3d3957786e8682ddf7077659575a2cf8052.tar.bz2 rpm-setup-e8cee3d3957786e8682ddf7077659575a2cf8052.tar.xz rpm-setup-e8cee3d3957786e8682ddf7077659575a2cf8052.zip |
add support for mini debug packages (disabled by default)
(https://fedoraproject.org/wiki/Features/MiniDebugInfo)
Diffstat (limited to 'build.macros.in')
-rw-r--r-- | build.macros.in | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/build.macros.in b/build.macros.in index d90e846..aad0ffe 100644 --- a/build.macros.in +++ b/build.macros.in @@ -155,6 +155,11 @@ GCONF_CONFIG_SOURCE=`%{_gconftool_bin} --get-default-source` %{_gconftool_bin} - %__distro_section %{?distro_section:%distro_section}%{?!distro_section:core} %mkrel(c:) %{-c: 0.%{-c*}.}%{1}%{?subrel:.%subrel}%{?distsuffix:%distsuffix}%{?!distsuffix:.mga}%{?distro_release:%distro_release}%([ "%{__distro_section}" != "core" ] && echo .%__distro_section) +# Include minimal debug information in build binaries. +# Requires _enable_debug_packages. +# +#%_include_minidebuginfo 0 + #------------------------------------------------------------------------------ # definions merged from manbo-setup-build # @@ -303,7 +308,7 @@ export CFLAGS="%optflags"; export CXXFLAGS="%optflags"; export RPM_OPT_FLAGS="%o %{nil} %__debug_install_post \ - @RPMVENDORDIR@/find-debuginfo.sh "%{_builddir}/%{?buildsubdir}"\ + @RPMVENDORDIR@/find-debuginfo.sh %{?_include_minidebuginfo:-m} "%{_builddir}/%{?buildsubdir}"\ %{nil} |