From e8a5e886d3565fdae386b32cba88b45f0c4ac4b9 Mon Sep 17 00:00:00 2001 From: Ferruh Yigit Date: Mon, 16 Apr 2018 18:09:29 +0100 Subject: [PATCH] net/sfc: fix meson build warning with gcc MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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 --- drivers/net/sfc/meson.build | 4 ---- 1 file changed, 4 deletions(-) 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 -- 2.20.1