diff --git a/test/simple-memory-corruption/Makefile b/test/simple-memory-corruption/Makefile index 2135f7e..7c4fd06 100644 --- a/test/simple-memory-corruption/Makefile +++ b/test/simple-memory-corruption/Makefile @@ -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)