From 1a5d01e79e40485e2e78ceb25f124a5ee31415fc Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Sat, 2 Apr 2016 21:55:25 -0700 Subject: When disabling SSE, make sure -fpmath is not set to use SSE either This fixes errors when we inject sse options through CFLAGS and now that we have -Werror turned on by default this warning turns into an error on x86: $ gcc -m32 -march=core2 -mtune=core2 -msse3 -mfpmath=sse -x c /dev/null -S -mno-sse -mno-mmx /dev/null:1:0: warning: SSE instruction set disabled, using 387 arithmetics Where as: $ gcc -m32 -march=core2 -mtune=core2 -msse3 -mfpmath=sse -x c /dev/null -S -mno-sse -mno-mmx -mfpmath=387 Generates no warnings. --- ChangeLog | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index e5f78c0..7c01a72 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2016-04-09 Khem Raj + + [BZ #17950] + * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os): + Add -mfpmath=387. + 2016-04-09 Mike Frysinger * sysdeps/i386/configure.ac: Change == to = when calling test. -- cgit v1.1