diff options
author | Hanoh Haim <hhaim@cisco.com> | 2016-11-10 14:24:56 +0200 |
---|---|---|
committer | Hanoh Haim <hhaim@cisco.com> | 2016-11-11 12:22:50 +0200 |
commit | 54305984a9be01d55bc6a4c99d948dec01eda51a (patch) | |
tree | 7a8e20c2aff1fdcbaacafdfaf2dab4bb9fb08602 /linux_dpdk | |
parent | 446954f6b2e8fe196b43e28a5a36ec01e8da184a (diff) |
No debug for DPDK in case of release
Signed-off-by: Hanoh Haim <hhaim@cisco.com>
Diffstat (limited to 'linux_dpdk')
-rwxr-xr-x | linux_dpdk/ws_main.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/linux_dpdk/ws_main.py b/linux_dpdk/ws_main.py index 63377495..8d9a236c 100755 --- a/linux_dpdk/ws_main.py +++ b/linux_dpdk/ws_main.py @@ -710,6 +710,8 @@ class build_option: def get_c_flags (self): flags = self.get_common_flags() + if self.isRelease () : + flags += ['-DNDEBUG']; # for C no special flags yet return (flags) |