2
0
mirror of https://codeberg.org/kiss-community/repo synced 2024-12-22 07:10:16 -07:00

firefox [testing]: Trim absolute paths

This commit is contained in:
Dylan Araps 2021-09-03 18:01:54 +03:00
parent 976b0c3c09
commit b0f7dabb70
No known key found for this signature in database
GPG Key ID: 13295DAC2CF13B5C

View File

@ -52,6 +52,10 @@ case $("$CC" -print-file-name=libc++.so) in */*)
export CXXSTDLIB=c++
esac
# Instruct the compiler to trim absolute paths in resulting binaries and instead
# change them to relative paths ($PWD/... ./...).
export RUSTFLAGS="$RUSTFLAGS --remap-path-prefix=$PWD=."
export LDFLAGS="$LDFLAGS -Wl,-rpath=/usr/lib/firefox,--enable-new-dtags"
export RUSTFLAGS="$RUSTFLAGS -Cdebuginfo=0"
export MACH_USE_SYSTEM_PYTHON=1