Descriptionuse __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
Committed: https://chromium.googlesource.com/libyuv/libyuv/+/c2073823b4d69652580691b73b01ed87619e20be
Patch Set 1 #
Total comments: 1
Patch Set 2 : allow clang-cl to use ssse3 version #
Messages
Total messages: 5 (2 generated)
|