Disable RTTI, we don't need it
This commit is contained in:
parent
8b72fe935e
commit
03646fe492
@ -21,7 +21,7 @@ NODEPS:=clean distclean
|
|||||||
|
|
||||||
# Default settings
|
# Default settings
|
||||||
STD=-std=c99 -pedantic -DREDIS_STATIC=''
|
STD=-std=c99 -pedantic -DREDIS_STATIC=''
|
||||||
CXX_STD=-std=c++14 -pedantic
|
CXX_STD=-std=c++14 -pedantic -fno-rtti
|
||||||
ifneq (,$(findstring clang,$(CC)))
|
ifneq (,$(findstring clang,$(CC)))
|
||||||
ifneq (,$(findstring FreeBSD,$(uname_S)))
|
ifneq (,$(findstring FreeBSD,$(uname_S)))
|
||||||
STD+=-Wno-c11-extensions
|
STD+=-Wno-c11-extensions
|
||||||
|
Loading…
x
Reference in New Issue
Block a user