From a21d1522c79363d54794016d29a7b8af60c30960 Mon Sep 17 00:00:00 2001 From: David Carlier Date: Tue, 30 Oct 2018 14:34:45 +0000 Subject: [PATCH] allow flavors --- src/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Makefile b/src/Makefile index eec172d0..471d4fab 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=''