diff options
author | pks <pks@pks.rocks> | 2024-08-13 10:15:02 +0200 |
---|---|---|
committer | pks <pks@pks.rocks> | 2024-08-13 10:15:02 +0200 |
commit | f02b4b172b14bd721e57ebdf4d04b51060920a51 (patch) | |
tree | b3aab5ee5675df694c8dc4afe8f28125826b0d35 | |
parent | 1388b6fd0143b38b4f9f91aa6904b3b884bdb5c9 (diff) |
zsh: fix gentoo build env
-rw-r--r-- | zsh/.zshrc | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -207,14 +207,18 @@ export RUBYOPT=-Ku export GEM_HOME=$HOME/.local/lib/ruby/ export GEM_PATH=$HOME/.local/lib/ruby/:$GEM_PATH -export PYTHONPATH=$PYTHONPATH:~/.local/lib/python/site-packages:~/.local/lib/python3/site-packages +if [ ! -z $PYTHONPATH ]; then + export PYTHONPATH=~/.local/lib/python/site-packages:~/.local/lib/python3/site-packages:$PYTHONPATH +else + export PYTHONPATH=~/.local/lib/python/site-packages:~/.local/lib/python3/site-packages +fi export PATH=~/.local/lib/python/site-packages:$PATH export PATH=~/.local/lib/node/bin:$PATH export TEXMFHOME='~/.texmf' -export CFLAGS="-march=native -mtune=native" +export CFLAGS="-O2 -march=native -mtune=native -pipe" export CXXFLAGS="$CFLAGS" export CCACHE_PATH=/usr/bin |