[pacman-dev] [PATCH v2] makepkg: add rust support for *FLAGS and debug-prefix-map

Morten Linderud foxboron at archlinux.org
Wed Oct 2 20:35:33 UTC 2019


On Mon, Aug 12, 2019 at 12:07:59AM -0400, Eli Schwartz wrote:
> index ce9c1556..19c96700 100644
> --- a/scripts/libmakepkg/buildenv/debugflags.sh.in
> +++ b/scripts/libmakepkg/buildenv/debugflags.sh.in
> @@ -32,7 +32,9 @@ buildenv_debugflags() {
>  	if check_option "debug" "y"; then
>  		DEBUG_CFLAGS+=" -fdebug-prefix-map=$srcdir=${DBGSRCDIR:-/usr/src/debug}"
>  		DEBUG_CXXFLAGS+=" -fdebug-prefix-map=$srcdir=${DBGSRCDIR:-/usr/src/debug}"
> +		DEBUG_RUSTFLAGS+=" --remap-path-prefix=$srdir=${DBGSRCDIR:-/usr/src/debug}"

$srdir should be $srcdir

-- 
Morten Linderud
PGP: 9C02FF419FECBE16
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.archlinux.org/pipermail/pacman-dev/attachments/20191002/f8f62126/attachment.sig>


More information about the pacman-dev mailing list