summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Carlier <dcarlier@afilias.info>2018-10-30 14:34:45 +0000
committerantirez <antirez@gmail.com>2018-11-20 08:32:31 +0100
commitc1f13575d76b19e94fb1d36d9334ac28c11c874f (patch)
tree1e3bdb07a8c662736ce81215e754040f1416de2c
parent275a2d49cc34f21ebc2b0651e78cd935fb42bc28 (diff)
downloadredis-c1f13575d76b19e94fb1d36d9334ac28c11c874f.tar.gz
allow flavors
-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=''