diff options
author | David Robillard <d@drobilla.net> | 2020-11-10 18:02:41 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-11-10 18:02:41 +0100 |
commit | c2a950a671fcbbb41636ed1c895d0db6cefa4ad8 (patch) | |
tree | 732169986658089fbe48218065051e66cfdc84ed /bash | |
parent | 387b6c23f1ea780ec1a5fe47ab13e0b5b80d4cbc (diff) | |
download | dotfiles-c2a950a671fcbbb41636ed1c895d0db6cefa4ad8.tar.gz dotfiles-c2a950a671fcbbb41636ed1c895d0db6cefa4ad8.tar.bz2 dotfiles-c2a950a671fcbbb41636ed1c895d0db6cefa4ad8.zip |
Update ccache configuration and make it more portable
Diffstat (limited to 'bash')
-rw-r--r-- | bash/.bashrc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bash/.bashrc b/bash/.bashrc index 2e4e204..55e470c 100644 --- a/bash/.bashrc +++ b/bash/.bashrc @@ -104,8 +104,6 @@ export CFLAGS="-O2 -march=native -fomit-frame-pointer -DNDEBUG -ftree-vectorize" export CXXFLAGS="$CFLAGS" export GTK_IM_MODULE="xim" export EDITOR="emacsclient" -export CXX=/usr/lib/ccache/g++-6 -export CC=/usr/lib/ccache/gcc-6 export PKG_CONFIG_PATH=/usr/lib/pkgconfig:/usr/local/lib/pkgconfig # colorize man @@ -138,6 +136,8 @@ if [ -d "$HOME/bin" ] ; then PATH="$HOME/bin:$HOME/.local/bin:$PATH" fi -if [ -d "/usr/lib/ccache/bin" ] ; then +if [ -d "/usr/lib/ccache/bin" ] ; then # Arch PATH="/usr/lib/ccache/bin:$PATH" +elif [ -d "/usr/lib/ccache" ] ; then # Debian + PATH="/usr/lib/ccache:$PATH" fi |