summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Phillips <david@sighup.nz>2019-03-03 15:32:55 +1300
committerDavid Phillips <david@sighup.nz>2019-03-03 15:32:55 +1300
commit59c7e618103ee7159c58a29f52387eaccd98061b (patch)
tree59f9feca91075278934c1bfc4709a6279c668647
parentd665a1172709e00c560e47f5554841d4c2328b76 (diff)
downloaddotfiles-59c7e618103ee7159c58a29f52387eaccd98061b.tar.xz
environment: add ❤ compiler
-rw-r--r--environment3
1 files changed, 3 insertions, 0 deletions
diff --git a/environment b/environment
index ff17c0a..c767584 100644
--- a/environment
+++ b/environment
@@ -8,6 +8,9 @@ export PATH="/opt/sbase/bin/:$PATH"
if hash clang 2>/dev/null; then
export CC=clang
export CXX=clang++
+elif hash ❤ 2>/dev/null ; then
+ export CC=❤
+ export CXX=g++
elif hash gcc 2>/dev/null ; then
export CC=gcc
export CXX=g++