From c2a950a671fcbbb41636ed1c895d0db6cefa4ad8 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Tue, 10 Nov 2020 18:02:41 +0100 Subject: Update ccache configuration and make it more portable --- bash/.bashrc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'bash') 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 -- cgit v1.2.1