From: Ferruh Yigit Date: Mon, 16 Apr 2018 17:09:29 +0000 (+0100) Subject: net/sfc: fix meson build warning with gcc X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=e8a5e886d3565fdae386b32cba88b45f0c4ac4b9;p=dpdk.git net/sfc: fix meson build warning with gcc icc flag is causing build error with gcc, build error: cc1: warning: unrecognized gcc debugging option: i cc1: warning: unrecognized gcc debugging option: g cc1: warning: unrecognized gcc debugging option: - cc1: warning: unrecognized gcc debugging option: d cc1: warning: unrecognized gcc debugging option: i cc1: warning: unrecognized gcc debugging option: s cc1: warning: unrecognized gcc debugging option: b cc1: warning: unrecognized gcc debugging option: l cc1: warning: unrecognized gcc debugging option: e cc1: warning: unrecognized gcc debugging option: cc1: warning: unrecognized gcc debugging option: 3 cc1: warning: unrecognized gcc debugging option: 6 cc1: warning: unrecognized gcc debugging option: 5 cc1: warning: unrecognized gcc debugging option: 6 cc1: warning: unrecognized command line option ‘-Wno-address-of-packed-member’ Removing icc flag completely since it is not supported right now. Fixes: f16d0b36f816 ("drivers/net: fix icc deprecated parameter warning") Signed-off-by: Ferruh Yigit --- diff --git a/drivers/net/sfc/meson.build b/drivers/net/sfc/meson.build index a37fc44a76..0de2e17fe7 100644 --- a/drivers/net/sfc/meson.build +++ b/drivers/net/sfc/meson.build @@ -30,10 +30,6 @@ extra_flags += [ '-Wbad-function-cast' ] -# Suppress ICC false positive warning on 'bulk' may be used before its -# value is set -extra_flags += '-diag-disable 3656' - foreach flag: extra_flags if cc.has_argument(flag) cflags += flag