mirror of https://github.com/ericonr/dotfiles.git
Create cargotmp command, add more flags to makepkg.
cargotmp: builds rust packages inside /tmp -> SSD savings makepkg: defines CC and CXX for clang, for build systems that support it
This commit is contained in:
parent
d2f873b9c0
commit
a556a4b10a
|
@ -4,6 +4,8 @@ alias cformat='clang-format -i -style=webkit'
|
|||
|
||||
alias maketmp='make BUILD_DIR=/tmp/(basename (pwd))'
|
||||
|
||||
alias cargotmp='env CARGO_TARGET_DIR=/tmp/cargo/(basename (pwd)) cargo'
|
||||
|
||||
function statusgit --argument show
|
||||
if test -z $show
|
||||
set show_status false
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
RUSTFLAGS="-Clink-arg=-fuse-ld=lld" /usr/bin/makepkg "$@"
|
||||
RUSTFLAGS="-Clink-arg=-fuse-ld=lld" CC="clang" CXX="clang++" /usr/bin/makepkg "$@"
|
||||
|
||||
|
|
Loading…
Reference in New Issue