]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
ltp: Remove -mfpmath=sse on x86-64 too
authorKhem Raj <raj.khem@gmail.com>
Fri, 26 Aug 2022 00:30:00 +0000 (17:30 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 30 Aug 2022 09:28:26 +0000 (10:28 +0100)
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 <raj.khem@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
meta/recipes-extended/ltp/ltp_20220527.bb

index 09c72506082563ca045178546030a0832a54501f..00ff906dedd255f344b63f00747f1c3ec00471a4 100644 (file)
@@ -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__"