Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 1 | From f058c884dd26d10c94550ca5252ed6576614d659 Mon Sep 17 00:00:00 2001 |
| 2 | From: Khem Raj <raj.khem@gmail.com> |
| 3 | Date: Thu, 19 Feb 2015 03:23:45 +0000 |
| 4 | Subject: [PATCH 15/27] When disabling SSE also make sure that fpmath is not |
| 5 | set to use SSE as well |
| 6 | |
| 7 | This fixes errors when we inject sse options through CFLAGS and now |
| 8 | that we have -Werror turned on by default this warning turns to become |
| 9 | error on x86 |
| 10 | |
| 11 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
| 12 | |
| 13 | Upstream-Status: Pending |
| 14 | --- |
| 15 | sysdeps/x86/Makefile | 2 +- |
| 16 | 1 file changed, 1 insertion(+), 1 deletion(-) |
| 17 | |
| 18 | diff --git a/sysdeps/x86/Makefile b/sysdeps/x86/Makefile |
| 19 | index 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 | -- |
| 31 | 2.1.4 |
| 32 | |