From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mellanox.co.il (mail-il-dmz.mellanox.com [193.47.165.129]) by dpdk.org (Postfix) with ESMTP id 8EA382C60 for ; Sat, 18 Feb 2017 02:52:58 +0100 (CET) Received: from Internal Mail-Server by MTLPINE1 (envelope-from cmetcalf@mellanox.com) with ESMTPS (AES256-SHA encrypted); 18 Feb 2017 03:52:56 +0200 Received: from ld-1.internal.tilera.com (ld-1.internal.tilera.com [10.15.7.41]) by mtbu-labmail01.internal.tilera.com (8.14.4/8.14.4) with ESMTP id v1I1qsoI028012; Fri, 17 Feb 2017 20:52:54 -0500 Received: (from cmetcalf@localhost) by ld-1.internal.tilera.com (8.14.4/8.14.4/Submit) id v1I1qs2N009964; Fri, 17 Feb 2017 20:52:54 -0500 From: Chris Metcalf To: Thomas Monjalon , Vincent JARDIN , Bruce Richardson , Jerin Jacob , Liming Sun , Olga Shern , Yael Shenhav , dev@dpdk.org Cc: Chris Metcalf Date: Fri, 17 Feb 2017 20:52:28 -0500 Message-Id: <1487382749-9887-4-git-send-email-cmetcalf@mellanox.com> X-Mailer: git-send-email 2.7.2 In-Reply-To: <1487382749-9887-1-git-send-email-cmetcalf@mellanox.com> References: <1487382749-9887-1-git-send-email-cmetcalf@mellanox.com> X-Mailman-Approved-At: Sat, 18 Feb 2017 12:06:58 +0100 Subject: [dpdk-dev] [PATCH 3/4] strict alignment: generalize warning handling X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 18 Feb 2017 01:52:58 -0000 Rather than allowing just armv7 to have non-fatal strict alignment cast warnings, generalize it to both strict alignment architectures, armv7 and tile. Signed-off-by: Chris Metcalf --- mk/toolchain/gcc/rte.vars.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mk/toolchain/gcc/rte.vars.mk b/mk/toolchain/gcc/rte.vars.mk index ff70f3d9f6ad..5caa60004c4e 100644 --- a/mk/toolchain/gcc/rte.vars.mk +++ b/mk/toolchain/gcc/rte.vars.mk @@ -81,9 +81,9 @@ ifeq ($(RTE_DEVEL_BUILD),y) WERROR_FLAGS += -Werror endif -# There are many issues reported for ARMv7 architecture +# There are many issues reported for strict alignment architectures # which are not necessarily fatal. Report as warnings. -ifeq ($(CONFIG_RTE_ARCH_ARMv7),y) +ifeq ($(CONFIG_RTE_ARCH_STRICT_ALIGN),y) WERROR_FLAGS += -Wno-error=cast-align endif -- 2.7.2