| Index: base/debug/leak_tracker.h
|
| diff --git a/base/debug/leak_tracker.h b/base/debug/leak_tracker.h
|
| index e5f0cb1778bced31b0bd27fe4b0100438ba5d942..8c5aaf31c2fc7d7c4e567576b0a1ad84c0b7a5c2 100644
|
| --- a/base/debug/leak_tracker.h
|
| +++ b/base/debug/leak_tracker.h
|
| @@ -5,8 +5,10 @@
|
| #ifndef BASE_DEBUG_LEAK_TRACKER_H_
|
| #define BASE_DEBUG_LEAK_TRACKER_H_
|
|
|
| -// Only enable leak tracking in debug builds.
|
| -#ifndef NDEBUG
|
| +#include "build/build_config.h"
|
| +
|
| +// Only enable leak tracking in non-uClibc debug builds.
|
| +#if !defined(NDEBUG) && !defined(__UCLIBC__)
|
| #define ENABLE_LEAK_TRACKER
|
| #endif
|
|
|
|
|