diff options
author | Damjan Marion <damarion@cisco.com> | 2018-11-29 14:40:30 +0100 |
---|---|---|
committer | Damjan Marion <dmarion@me.com> | 2018-11-29 21:55:10 +0000 |
commit | 5ad75f5deacfbf093cfff3e1d1824645e2e51424 (patch) | |
tree | e7137e335b9c2f9804a0c7cb1d21f31d6d83a2cf /src/vppinfra | |
parent | e87865dd85ea66796064493b1a6302ccdeade42a (diff) |
do not opttimize graph node functions in debug builds
Change-Id: I5b4cd419d317381a06e7e6d703373959f4bbd97b
Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src/vppinfra')
-rw-r--r-- | src/vppinfra/cpu.h | 2 |
1 files changed, 1 insertions, 1 deletions
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 |