revert the macos part of..

commit 217122387f6e0ef657b8ba85eae082b448901cec
    Date:   Tue Aug 25 12:23:13 2020 +0200
    dont turn on malloc debugging for gdb itself

because it doesn't work

Change-Id: If6f1ac2ddc1683dab9d57df742c647083304af07
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/102056
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
diff --git a/solenv/gbuild/platform/macosx.mk b/solenv/gbuild/platform/macosx.mk
index 863fc43..431f8e4 100644
--- a/solenv/gbuild/platform/macosx.mk
+++ b/solenv/gbuild/platform/macosx.mk
@@ -261,7 +261,7 @@ gb_CppunitTest_CPPTESTPRECOMMAND := \
	$(call gb_Helper_extend_ld_path,$(gb_Library_DLLDIR):$(WORKDIR)/UnpackedTarball/cppunit/src/cppunit/.libs)
gb_CppunitTest_get_filename = libtest_$(1).dylib
gb_CppunitTest_get_ilibfilename = $(gb_CppunitTest_get_filename)
gb_CppunitTest_malloc_check := -Q 'env MallocScribble=1' -Q 'env MallocPreScribble=1'
gb_CppunitTest_malloc_check := MallocScribble=1 MallocPreScribble=1

define gb_CppunitTest_CppunitTest_platform
$(call gb_LinkTarget_get_target,$(2)) : RPATH :=