X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fvppinfra%2Fcpu.h;h=6dc0a23e467604a2a789fb89b29ebfd51459acab;hb=3c514d5516498c67f313d3bfe62288d4f36fba54;hp=0ca9edb97fcc1ba3d82d70443a708106058e398c;hpb=2e2372117d35191a0e6c096c5f989930de6e12b1;p=vpp.git diff --git a/src/vppinfra/cpu.h b/src/vppinfra/cpu.h index 0ca9edb97fc..6dc0a23e467 100644 --- a/src/vppinfra/cpu.h +++ b/src/vppinfra/cpu.h @@ -33,7 +33,7 @@ #endif -#if __GNUC__ > 4 && !__clang__ +#if __GNUC__ > 4 && !__clang__ && CLIB_DEBUG == 0 #define CLIB_CPU_OPTIMIZED __attribute__ ((optimize ("O3"))) #else #define CLIB_CPU_OPTIMIZED