index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Eli Schwartz <eschwartz@archlinux.org> | 2019-10-06 21:33:41 -0400 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2019-10-07 11:48:41 +1000 |
commit | bcacb00fc89c04ec0b5e7ebefe3b605b266cef57 (patch) | |
tree | 425b3b55527fcf79090639250adbe53ed6b45b93 /scripts/libmakepkg/buildenv/debugflags.sh.in | |
parent | 48752f1b4b16cd1dad56649cd36b253494aa9ff1 (diff) |
-rw-r--r-- | scripts/libmakepkg/buildenv/debugflags.sh.in | 2 |
diff --git a/scripts/libmakepkg/buildenv/debugflags.sh.in b/scripts/libmakepkg/buildenv/debugflags.sh.in index ce9c1556..4cd5d003 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=$srcdir=${DBGSRCDIR:-/usr/src/debug}" CFLAGS+=" $DEBUG_CFLAGS" CXXFLAGS+=" $DEBUG_CXXFLAGS" + RUSTFLAGS+=" $DEBUG_RUSTFLAGS" fi } |