Frank Barchard c2073823b4 use __OPTIMIZE__ macro to determine debug vs release.
Debug builds of x86 gcc/clang can run out of register.
Previously NDEBUG or _DEBUG was used to detect a debug build.
But those macros are not set by gentoo builds.
This CL switches to the compiler predefine __OPTIMIZE__ which is
built into clang and gcc.

BUG=libyuv:602
TEST=untested
R=wangcheng@google.com

Review URL: https://codereview.chromium.org/2451503002 .
2016-10-24 18:02:48 -07:00
..
libyuv use __OPTIMIZE__ macro to determine debug vs release. 2016-10-24 18:02:48 -07:00
libyuv.h remove guard nolints from all headers 2016-09-26 18:02:09 -07:00