diff options
author | Khem Raj <raj.khem@gmail.com> | 2019-12-13 22:56:35 -0800 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2019-12-14 21:10:18 -0800 |
commit | 69bc6ff2fb3226c28cef532ffdc79d93581fcb6b (patch) | |
tree | 50efcae3ce9c9076a829861dbbeb1210d9ef5b21 /meta-initramfs | |
parent | 3fc59d3b9755d5eaa250cb8618711479e41a4b38 (diff) | |
download | meta-openembedded-contrib-69bc6ff2fb3226c28cef532ffdc79d93581fcb6b.tar.gz |
klibc: Apply -no-integrated-as on mips/clang
Fixes build error
| /mnt/b/yoe/build/tmp/work/mips32r2-yoe-linux-musl/klibc/2.0.7-r0/klibc-2.0.7/usr/klibc/syscalls.pl: usr/klib
c/syscalls/typesize.bin: magic number not found
...
| usr/klibc/sigsuspend.c:8:10: fatal error: 'klibc/havesyscall.h' file not found
| #include <klibc/havesyscall.h>
| ^~~~~~~~~~~~~~~~~~~~~
| 1 error generated.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Andrea Adami <andrea.adami@gmail.com>
Diffstat (limited to 'meta-initramfs')
-rw-r--r-- | meta-initramfs/recipes-devtools/klibc/klibc.inc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta-initramfs/recipes-devtools/klibc/klibc.inc b/meta-initramfs/recipes-devtools/klibc/klibc.inc index e1afe7f33ec..289288d4805 100644 --- a/meta-initramfs/recipes-devtools/klibc/klibc.inc +++ b/meta-initramfs/recipes-devtools/klibc/klibc.inc @@ -37,6 +37,7 @@ S = "${WORKDIR}/klibc-${PV}" OPTFLAGS = "${TUNE_CCARGS} -Os" OPTFLAGS_append_toolchain-clang = " -fno-builtin-bcmp" +OPTFLAGS_append_toolchain-clang_mipsarch = " -no-integrated-as" PARALLEL_MAKE = "" EXTRA_OEMAKE = "'KLIBCARCH=${KLIBC_ARCH}' \ |