diff --git a/CMake/variants/variants.lhn001 b/CMake/variants/variants.lhn001 index 70a36aa44504a824a7791f7b349b22ce172cb3ed..1b2617ece3ef679fa088e55693233bd4b90b93f7 100644 --- a/CMake/variants/variants.lhn001 +++ b/CMake/variants/variants.lhn001 @@ -15,3 +15,7 @@ set(CTEST_CUSTOM_WARNING_EXCEPTION "/log4cxx/helpers/objectptr.h:[0-9]+: warning: base class" "/log4cxx/helpers/objectptr.h:[0-9]+: warning: dereferencing type-punned pointer" ) + +# Drop the now default C++ debug compile flag -D_GLIBCXX_DEBUG, because Python +# (or Boost.Python) barfs on it (glibc detected: python free(): invalid pointer) +set(GNU_CXX_FLAGS_DEBUG "-g")