summaryrefslogtreecommitdiffstats
path: root/linux_dpdk
diff options
context:
space:
mode:
authorimarom <imarom@cisco.com>2015-11-09 10:40:11 +0200
committerimarom <imarom@cisco.com>2015-11-09 10:56:11 +0200
commit67bcc46be09049d2ca65c0af2aa6a2fe0821eb04 (patch)
treef6fde81c1a6983a6cb28783871290ee4970b23b7 /linux_dpdk
parentc75eb0b81a70ac39a5535553ad902b3a11385d48 (diff)
DPDK target is now built with -Wall -Werror
(with few expections) on both Fedora 18 and Ubunutu
Diffstat (limited to 'linux_dpdk')
-rwxr-xr-xlinux_dpdk/ws_main.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/linux_dpdk/ws_main.py b/linux_dpdk/ws_main.py
index 3f3c0950..c8cbb38a 100755
--- a/linux_dpdk/ws_main.py
+++ b/linux_dpdk/ws_main.py
@@ -582,6 +582,12 @@ class build_option:
# support c++ 2011
flags += ['-std=c++0x']
+ flags += ['-Wall',
+ '-Werror',
+ '-Wno-literal-suffix',
+ '-Wno-sign-compare',
+ '-Wno-strict-aliasing']
+
return (flags)
def get_c_flags (self):