diff options
author | Danny Baumann <dannybaumann@web.de> | 2011-07-19 14:25:49 +0200 |
---|---|---|
committer | Danny Baumann <dannybaumann@web.de> | 2011-07-19 14:29:06 +0200 |
commit | e9ce18fc28850267cc3b3228bede34675f1b97ec (patch) | |
tree | 17eb5cd7935c6f3896579763e05be888bbd77453 /libc/docs | |
parent | 48cd796cf7416dd168702c782026f004a35a29d8 (diff) | |
download | android_bionic-e9ce18fc28850267cc3b3228bede34675f1b97ec.tar.gz android_bionic-e9ce18fc28850267cc3b3228bede34675f1b97ec.tar.bz2 android_bionic-e9ce18fc28850267cc3b3228bede34675f1b97ec.zip |
Completely disable assertions if NDEBUG is set.
Normally, setting NDEBUG disables the assert function call in assert.h.
This is sufficient if we build everything from source. However, as we're
dealing with a number of precompiled binaries, we can also have binaries
which were compiled with NDEBUG not being set. To achieve the same
effect for those binaries (namely: don't make the program crash),
disable the call to abort() inside the assert functions if NDEBUG is
set.
Change-Id: I545927757ae6e972f1567085715d9a6cb6c46107
Diffstat (limited to 'libc/docs')
0 files changed, 0 insertions, 0 deletions