summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--make-linux.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/make-linux.mk b/make-linux.mk
index 586da514..8957fe51 100644
--- a/make-linux.mk
+++ b/make-linux.mk
@@ -1,5 +1,5 @@
# Pick clang or gcc, with preference for clang
-CC=$(shell if [ -e /usr/bin/clang++ ]; then echo clang++; else echo g++; fi)
+CC=$(shell if [ -e /usr/bin/clang ]; then echo clang; else echo gcc; fi)
CXX=$(shell if [ -e /usr/bin/clang++ ]; then echo clang++; else echo g++; fi)
INCLUDES=