diff options
author | Khem Raj <raj.khem@gmail.com> | 2022-07-06 20:59:11 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-07-09 20:57:50 +0100 |
commit | ec5adc834dc634ff7f05a0936edd50a34821370f (patch) | |
tree | f328180a38cf48e2529e40f23ec071f9cabc5105 /meta/recipes-extended/ltp | |
parent | 1467eb48d5b2cdd7c5acd02a539965f2f4d29498 (diff) | |
download | poky-ec5adc834dc634ff7f05a0936edd50a34821370f.tar.gz |
ltp: Remove -mfpmath=sse on x86
Fixes build errors seen with clang
error: the 'sse' unit is not supported with this instruction set
(From OE-Core rev: 643e40ceaf520f995f6f38449a072e98e26da3b5)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/ltp')
-rw-r--r-- | meta/recipes-extended/ltp/ltp_20220527.bb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-extended/ltp/ltp_20220527.bb b/meta/recipes-extended/ltp/ltp_20220527.bb index b3ef8f5910..034b62b321 100644 --- a/meta/recipes-extended/ltp/ltp_20220527.bb +++ b/meta/recipes-extended/ltp/ltp_20220527.bb | |||
@@ -19,6 +19,7 @@ EXTRA_OECONF:append:libc-musl = " LIBS=-lfts " | |||
19 | # is set to -O0 or frame pointers have been enabled by -fno-omit-frame-pointer | 19 | # is set to -O0 or frame pointers have been enabled by -fno-omit-frame-pointer |
20 | # earlier in CFLAGS, etc. | 20 | # earlier in CFLAGS, etc. |
21 | CFLAGS:append:x86-64 = " -fomit-frame-pointer" | 21 | CFLAGS:append:x86-64 = " -fomit-frame-pointer" |
22 | TUNE_CCARGS:remove:x86 = "-mfpmath=sse" | ||
22 | 23 | ||
23 | CFLAGS:append:powerpc64 = " -D__SANE_USERSPACE_TYPES__" | 24 | CFLAGS:append:powerpc64 = " -D__SANE_USERSPACE_TYPES__" |
24 | CFLAGS:append:mipsarchn64 = " -D__SANE_USERSPACE_TYPES__" | 25 | CFLAGS:append:mipsarchn64 = " -D__SANE_USERSPACE_TYPES__" |