[pacman-dev] [PATCH] makepkg: Only change debug prefix if making debug package

Allan McRae allan at archlinux.org
Mon Oct 7 04:58:46 UTC 2019


On 29/7/19 2:52 pm, Austin Lund wrote:
> Currently all debug builds will prefix /usr/src/build to the source
> paths.  If debugging symbols are stripped into a separate package then
> these sources files are indeed in this path.  But if the debug build is
> not stripped then one is left with a complex path rewriting to perform
> debugging.  It's much easier to perform sensible path rewriting in this
> instance when the path is left untouched.
> 
> Signed-off-by: Austin Lund <austin.lund at gmail.com>
> ---

I think this is the wrong solution.

For a package with options=('debug' '!strip'), we should just include
the source files in the package.  Debug information includes source files.

Allan


More information about the pacman-dev mailing list