mirror of
https://codeberg.org/redict/redict.git
synced 2025-01-23 00:28:26 -05: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…
Reference in New Issue
Block a user