summaryrefslogtreecommitdiff
path: root/zsh
diff options
context:
space:
mode:
authorAndrew Pirie <andrew@apirie.uk>2024-08-29 01:27:40 +0100
committerAndrew Pirie <andrew@apirie.uk>2024-08-29 01:27:40 +0100
commit8f72c1c253ec2439af7f8139d34c519b2736be1a (patch)
tree25760273d72b40f14dc9b867a61dd99fde77b7c8 /zsh
parent517ec90b3c852c6e17c5f8f54ced6dccc45fee73 (diff)
downloaddotfiles-8f72c1c253ec2439af7f8139d34c519b2736be1a.tar.gz
dotfiles-8f72c1c253ec2439af7f8139d34c519b2736be1a.zip
zsh: remove unneeded rustflags, use nproc for jobs in MAKEOPTS
Diffstat (limited to 'zsh')
-rw-r--r--zsh/.zshenv4
1 files changed, 2 insertions, 2 deletions
diff --git a/zsh/.zshenv b/zsh/.zshenv
index 4cce007..58a29cf 100644
--- a/zsh/.zshenv
+++ b/zsh/.zshenv
@@ -32,10 +32,10 @@ export COMMON_FLAGS="-march=native -O2 -pipe"
export LDFLAGS="-Wl,-O1 -Wl,--as-needed"
export CFLAGS="${COMMON_FLAGS}"
export CXXFLAGS="${COMMON_FLAGS}"
-export RUSTFLAGS="-Ctarget-cpu=native -Clinker=clang -Clink-arg=-fuse-ld=lld"
+export RUSTFLAGS="-Ctarget-cpu=native"
# options
-export MAKEOPTS="-j4"
+export MAKEOPTS="-j$(nproc)"
export XZ_OPT="-9e -T0"
export CMAKE_MAKEFILE_GENERATOR=ninja
export CRYSTAL_OPTS="-s -p --link-flags='${LDFLAGS}' --mcpu=native"