summaryrefslogtreecommitdiffstats
path: root/linux_dpdk
diff options
context:
space:
mode:
authorHanoh Haim <hhaim@cisco.com>2016-11-10 14:24:56 +0200
committerHanoh Haim <hhaim@cisco.com>2016-11-11 12:22:50 +0200
commit54305984a9be01d55bc6a4c99d948dec01eda51a (patch)
tree7a8e20c2aff1fdcbaacafdfaf2dab4bb9fb08602 /linux_dpdk
parent446954f6b2e8fe196b43e28a5a36ec01e8da184a (diff)
No debug for DPDK in case of release
Signed-off-by: Hanoh Haim <hhaim@cisco.com>
Diffstat (limited to 'linux_dpdk')
-rwxr-xr-xlinux_dpdk/ws_main.py2
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)