add flag -fno-sized-deallocation, eliminating _ZdlPvm

This commit is contained in:
shunf4 2021-10-06 18:47:59 +08:00
parent 8b3752ef47
commit d0bdb374a0

View File

@ -118,6 +118,7 @@ target_compile_options(squawk PRIVATE
"-Wall;-Wextra" "-Wall;-Wextra"
"$<$<CONFIG:DEBUG>:-g>" "$<$<CONFIG:DEBUG>:-g>"
"$<$<CONFIG:RELEASE>:-O3>" "$<$<CONFIG:RELEASE>:-O3>"
"-fno-sized-deallocation" # for eliminating _ZdlPvm
) )
endif(CMAKE_COMPILER_IS_GNUCXX) endif(CMAKE_COMPILER_IS_GNUCXX)