mirror of
https://github.com/fluencelabs/redis
synced 2025-03-19 17:10:50 +00:00
Fix clang build.
Some math functions require c11 standard.
This commit is contained in:
parent
0c875c7751
commit
6534b3e09e
@ -20,7 +20,11 @@ DEPENDENCY_TARGETS=hiredis linenoise lua
|
||||
NODEPS:=clean distclean
|
||||
|
||||
# Default settings
|
||||
STD=-std=c99 -pedantic -DREDIS_STATIC=''
|
||||
ifneq ($(CC),clang)
|
||||
STD=-std=c99 -pedantic -DREDIS_STATIC=''
|
||||
else
|
||||
STD=-std=c11 -pedantic -DREDIS_STATIC=''
|
||||
endif
|
||||
WARN=-Wall -W -Wno-missing-field-initializers
|
||||
OPT=$(OPTIMIZATION)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user