Fix clang compilation by enabling sized deallocations

This commit is contained in:
Maxime Coste 2024-03-08 20:19:55 +11:00
parent ec44d98347
commit d299a7059e

View File

@ -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 compiler != $(CXX) --version | grep -E -o 'clang|GCC' | head -1
#CXXFLAGS-compiler-clang = -frelaxed-template-template-args -Wno-ambiguous-reversed-operator #CXXFLAGS-compiler-clang = -frelaxed-template-template-args -Wno-ambiguous-reversed-operator
#CXXFLAGS-compiler-GCC = -Wno-init-list-lifetime #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 CXXFLAGS-compiler-GCC = -Wno-init-list-lifetime -Wno-stringop-overflow
KAK_CPPFLAGS = \ KAK_CPPFLAGS = \