summaryrefslogtreecommitdiff
path: root/src/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Makefile b/src/Makefile
index eec172d0e..471d4fab4 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -20,7 +20,7 @@ DEPENDENCY_TARGETS=hiredis linenoise lua
NODEPS:=clean distclean
# Default settings
-ifneq ($(CC),clang)
+ifeq (,$(findstring clang,$(CC)))
STD=-std=c99 -pedantic -DREDIS_STATIC=''
else
STD=-std=c11 -pedantic -DREDIS_STATIC=''