aboutsummaryrefslogtreecommitdiff
path: root/gdb/config/rs6000.mh
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/config/rs6000.mh')
-rw-r--r--gdb/config/rs6000.mh5
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/config/rs6000.mh b/gdb/config/rs6000.mh
index 6f644b5..cd80d89 100644
--- a/gdb/config/rs6000.mh
+++ b/gdb/config/rs6000.mh
@@ -20,3 +20,8 @@
XDEPFILES= xcoffexec.o infptrace.o rs6000-xdep.o
XM_FILE= xm-rs6000.h
XM_CFLAGS = -bnodelcsect
+
+# Because of shared libraries, we risk ending up with *two*
+# versions of malloc if we use GNU malloc ...
+GNU_MALLOC =
+MALLOC_CFLAGS = -DNO_MALLOC_CHECK