From: Khem Raj Date: Fri, 26 Aug 2022 00:30:00 +0000 (-0700) Subject: ltp: Remove -mfpmath=sse on x86-64 too X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~3120 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f99bc43c4564b8a7b2047c5c1009a6eb74b393ea;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git 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 Signed-off-by: Luca Ceresoli --- diff --git a/meta/recipes-extended/ltp/ltp_20220527.bb b/meta/recipes-extended/ltp/ltp_20220527.bb index 09c72506082..00ff906dedd 100644 --- a/meta/recipes-extended/ltp/ltp_20220527.bb +++ b/meta/recipes-extended/ltp/ltp_20220527.bb @@ -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__"