When disabling SSE, make sure -fpmath is not set to use SSE either
commit1a5d01e79e40485e2e78ceb25f124a5ee31415fc
authorKhem Raj <raj.khem@gmail.com>
Sun, 3 Apr 2016 04:55:25 +0000 (2 21:55 -0700)
committerMike Frysinger <vapier@gentoo.org>
Sun, 10 Apr 2016 02:14:24 +0000 (9 22:14 -0400)
tree3ac2642323dd0f25c3b78ea255b04b39dc5afd6b
parentef9ec897605ebb1422f1ddae26c944e739d2a660
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
sysdeps/i386/Makefile