devconf/.zcustom/env.zsh

12 lines
175 B
Bash
Raw Normal View History

if [ -n "$(command -v clang)" ]; then
export CC=clang
else
export CC=gcc
fi
if [ -n "$(command -v clang++)" ]; then
export CXX=clang++
else
export CXX=g++
fi