ltp: Remove -mfpmath=sse on x86-64 too
PATCH 1/1 ltp: Remove -mfpmath=sse on x86-64 too
Fixes build errors seen with clang/musl like on x86
error: the 'sse' unit is not supported with this instruction set
Signed-off-by Khem Raj <[email protected]>
--- meta/recipes-extended/ltp/ltp_20220527.bb | 1 + 1 file changed, 1 insertion(+)
meta/recipes-extended/ltp/ltp_20220527.bb +1 -0
@@ -20,6 +20,7 @@ EXTRA_OECONF:append:libc-musl = " LIBS=-lfts " # earlier in CFLAGS, etc. CFLAGS:append:x86-64 = " -fomit-frame-pointer" TUNE_CCARGS:remove:x86 = "-mfpmath=sse" +TUNE_CCARGS:remove:x86-64 = "-mfpmath=sse" CFLAGS:append:powerpc64 = " -D__SANE_USERSPACE_TYPES__" CFLAGS:append:mipsarchn64 = " -D__SANE_USERSPACE_TYPES__"
Signature · 1 line
2.37.2