Skip to contentSkip to conversation

ltp: Remove -mfpmath=sse on x86-64 too

PATCH New Khem Raj 1 participant 1 message Aug 26, 2022

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

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

---
 meta/recipes-extended/ltp/ltp_20220527.bb | 1 +
 1 file changed, 1 insertion(+)
meta/recipes-extended/ltp/ltp_20220527.bb +1 -0
index 09c7250608..00ff906ded 100644
@@ -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