summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Young <chris@unsatisfactorysoftware.co.uk>2016-11-20 15:02:28 +0000
committerChris Young <chris@unsatisfactorysoftware.co.uk>2016-11-20 15:02:28 +0000
commit70ca3eb8751bb2d96323bf1528e9c6ce80b0b307 (patch)
tree946fe7057369fb334f837966f7c8934a0eec2e1e
parentd171f413b92004d5c349036306e15ecc79a8e73b (diff)
downloadtoolchains-70ca3eb8751bb2d96323bf1528e9c6ce80b0b307.tar.gz
toolchains-70ca3eb8751bb2d96323bf1528e9c6ce80b0b307.tar.bz2
Enable clib2 memory debug mode
-rw-r--r--m68k-unknown-amigaos/recipes/patches/clib2/clib2.stdlib_memory.h.p29
1 files changed, 29 insertions, 0 deletions
diff --git a/m68k-unknown-amigaos/recipes/patches/clib2/clib2.stdlib_memory.h.p b/m68k-unknown-amigaos/recipes/patches/clib2/clib2.stdlib_memory.h.p
new file mode 100644
index 0000000..1f61659
--- /dev/null
+++ b/m68k-unknown-amigaos/recipes/patches/clib2/clib2.stdlib_memory.h.p
@@ -0,0 +1,29 @@
+--- /home/chris/netsurf/toolchains/m68k-unknown-amigaos/builddir/clib2/stdlib_memory.h 2016-11-18 16:22:21.000000000 +0000
++++ stdlib_memory.h 2016-11-20 14:56:44.477019674 +0000
+@@ -40,7 +40,7 @@
+ * Uncomment this to build a library which has the memory debugging features
+ * enabled.
+ */
+-/*#define __MEM_DEBUG*/
++#define __MEM_DEBUG
+
+ /****************************************************************************/
+
+@@ -48,7 +48,7 @@
+ * Uncomment this to see reports of where and how much memory is allocated
+ * or released.
+ */
+-/*#define __MEM_DEBUG_LOG*/
++#define __MEM_DEBUG_LOG
+
+ /****************************************************************************/
+
+@@ -56,7 +56,7 @@
+ * Uncomment this to speed up memory data maintenance operations when
+ * the memory debugging mode is enabled.
+ */
+-/*#define __USE_MEM_TREES*/
++#define __USE_MEM_TREES
+
+ /****************************************************************************/
+