Fix clang compilation by enabling sized deallocations
This commit is contained in:
parent
ec44d98347
commit
d299a7059e
2
Makefile
2
Makefile
|
@ -66,7 +66,7 @@ CXXFLAGS-default = -std=c++2a -Wall -Wextra -pedantic -Wno-unused-parameter -Wno
|
|||
compiler != $(CXX) --version | grep -E -o 'clang|GCC' | head -1
|
||||
#CXXFLAGS-compiler-clang = -frelaxed-template-template-args -Wno-ambiguous-reversed-operator
|
||||
#CXXFLAGS-compiler-GCC = -Wno-init-list-lifetime
|
||||
CXXFLAGS-compiler-clang =
|
||||
CXXFLAGS-compiler-clang = -fsized-deallocation
|
||||
CXXFLAGS-compiler-GCC = -Wno-init-list-lifetime -Wno-stringop-overflow
|
||||
|
||||
KAK_CPPFLAGS = \
|
||||
|
|
Loading…
Reference in New Issue
Block a user