/external/newlib.patch
diff --git a/newlib/libc/stdlib/mallocr.c b/newlib/libc/stdlib/mallocr.c
index 26d1c89cc..6e4bd78d4 100644
-int _dummy_mallocr = 1;
+int __attribute__((weak)) _dummy_mallocr = 1;
#else
/* ---------- To make a malloc.h, start cutting here ------------ */
#ifdef MALLOC_PROVIDED