blob: 4b261ca1ef3c1f628c48b909d9c2bfa5320e3b46 [file] [log] [blame]
Patrick Williamsc124f4f2015-09-15 14:41:29 -05001From f058c884dd26d10c94550ca5252ed6576614d659 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Thu, 19 Feb 2015 03:23:45 +0000
4Subject: [PATCH 15/27] When disabling SSE also make sure that fpmath is not
5 set to use SSE as well
6
7This fixes errors when we inject sse options through CFLAGS and now
8that we have -Werror turned on by default this warning turns to become
9error on x86
10
11Signed-off-by: Khem Raj <raj.khem@gmail.com>
12
13Upstream-Status: Pending
14---
15 sysdeps/x86/Makefile | 2 +-
16 1 file changed, 1 insertion(+), 1 deletion(-)
17
18diff --git a/sysdeps/x86/Makefile b/sysdeps/x86/Makefile
19index 19f5eca..827ea71 100644
20--- a/sysdeps/x86/Makefile
21+++ b/sysdeps/x86/Makefile
22@@ -1,6 +1,6 @@
23 ifeq ($(subdir),elf)
24 CFLAGS-.os += $(if $(filter $(@F),$(patsubst %,%.os,$(all-rtld-routines))),\
25- -mno-sse -mno-mmx)
26+ -mno-sse -mno-mmx -mfpmath=387)
27
28 tests-special += $(objpfx)tst-ld-sse-use.out
29 $(objpfx)tst-ld-sse-use.out: ../sysdeps/x86/tst-ld-sse-use.sh $(objpfx)ld.so
30--
312.1.4
32