enable sized deallocation for sized deletion test

Clang doesn't currently enable sized deallocation by default like GCC.
This commit is contained in:
Daniel Micay 2022-01-01 23:18:52 -05:00
parent 9142a9376b
commit de7a3b6e5a

View File

@ -1,6 +1,8 @@
dir=$(dir $(realpath $(firstword $(MAKEFILE_LIST))))
CONFIG_SLAB_CANARY := true
# Clang 13 still doesn't enable sized deallocation by default
CXXFLAGS := -std=c++17 -fsized-deallocation
ifeq (,$(filter $(CONFIG_SLAB_CANARY),true false))
$(error CONFIG_SLAB_CANARY must be true or false)