From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH v2] mk: pass EXTRA_CFLAGS to AUTO_CPUFLAGS to enable local modifications Date: Fri, 04 Dec 2015 19:53:57 +0100 Message-ID: <4623746.AUJoGgWqRB@xps13> References: <20151124085001.58817bf0@miho> <56614AE8.2010200@netinsight.net> <566167CC.3040303@6wind.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org To: Simon =?ISO-8859-1?Q?K=E5gstr=F6m?= Return-path: Received: from mail-wm0-f50.google.com (mail-wm0-f50.google.com [74.125.82.50]) by dpdk.org (Postfix) with ESMTP id BE1799221 for ; Fri, 4 Dec 2015 19:55:07 +0100 (CET) Received: by wmww144 with SMTP id w144so76703334wmw.0 for ; Fri, 04 Dec 2015 10:55:07 -0800 (PST) In-Reply-To: <566167CC.3040303@6wind.com> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" > >> We have encountered a CPU where the AES-NI instruction set is disabled > >> due to export restrictions. Since the build machine and target machine > >> is different, using -native configs doesn't work, and on this CPU, the > >> application refuses to run due to the AES CPU flags being amiss. > >> > >> The patch passes EXTRA_CFLAGS to the figure-out-cpu-flags helper, > >> which allows us to add -mno-aes to the compile flags and resolve this > >> problem. > >> > >> Signed-off-by: Simon Kagstrom > > Acked-by: Olivier Matz Applied, thanks