Files
gentoo/sys-libs/glibc
Sam James 0fa3ca6b2e sys-libs/glibc: pass -msse if -mfpmath=sse, when auto-adding -march=i686
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>
2026-05-20 18:42:55 +01:00
..