mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-21 10:37:22 -08:00
If compilation fails of a sanity check, we add in -march=i686 for multilib, but that then breaks if -mfpmath=sse is in CFLAGS_x86 (as it is in profiles by default for a few years now). This then breaks because i686 doesn't imply SSE. If -mfpmath=sse is in *FLAGS for that case, add in -msse. We don't do this for the case above it (x86 w/o multilib) as it's not injected into CFLAGS_x86 there by profiles. Closes: https://bugs.gentoo.org/937637 Signed-off-by: Sam James <sam@gentoo.org>