From: Doug Goldstein Subject: [PATCH] xen/x86: Fix up rules when forcing -mno-sse Date: Wed, 12 Aug 2015 10:23:12 -0500 Message-ID: <1439392992-17274-1-git-send-email-cardoe@cardoe.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta14.messagelabs.com ([193.109.254.103]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1ZPXsV-0006kN-Cl for xen-devel@lists.xenproject.org; Wed, 12 Aug 2015 15:23:43 +0000 Received: by qkdv3 with SMTP id v3so6197021qkd.3 for ; Wed, 12 Aug 2015 08:23:41 -0700 (PDT) List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: xen-devel@lists.xenproject.org Cc: Doug Goldstein , Nathan Rossi List-Id: xen-devel@lists.xenproject.org From: Nathan Rossi * When forcing -mno-sse specify -mfpmath=387 to avoid the fallback warning Signed-off-by: Nathan Rossi Signed-off-by: Doug Goldstein --- I found this patch when attempting to build Xen master on Yocto and wanted to make sure to give the original author credit. His patch is unmodified (save for the commit message note that says it was not submitted upstream). --- xen/arch/x86/Rules.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xen/arch/x86/Rules.mk b/xen/arch/x86/Rules.mk index 4a04a8a..974f8ab 100644 --- a/xen/arch/x86/Rules.mk +++ b/xen/arch/x86/Rules.mk @@ -35,7 +35,7 @@ x86_64 := y shadow-paging ?= y bigmem ?= n -CFLAGS += -mno-red-zone -mno-sse -fpic +CFLAGS += -mno-red-zone -mno-sse -fpic -mfpmath=387 CFLAGS += -fno-asynchronous-unwind-tables # -fvisibility=hidden reduces -fpic cost, if it's available ifneq ($(call cc-option,$(CC),-fvisibility=hidden,n),n) -- 2.1.4