diff options
Diffstat (limited to 'classes/clang.bbclass')
-rw-r--r-- | classes/clang.bbclass | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/classes/clang.bbclass b/classes/clang.bbclass index d91a32a..f6570d6 100644 --- a/classes/clang.bbclass +++ b/classes/clang.bbclass | |||
@@ -36,10 +36,6 @@ LDFLAGS:append:toolchain-clang = " ${COMPILER_RT} ${LIBCPLUSPLUS}" | |||
36 | TUNE_CCARGS:remove:toolchain-clang = "-meb" | 36 | TUNE_CCARGS:remove:toolchain-clang = "-meb" |
37 | TUNE_CCARGS:remove:toolchain-clang = "-mel" | 37 | TUNE_CCARGS:remove:toolchain-clang = "-mel" |
38 | TUNE_CCARGS:append:toolchain-clang = "${@bb.utils.contains("TUNE_FEATURES", "bigendian", " -mbig-endian", " -mlittle-endian", d)}" | 38 | TUNE_CCARGS:append:toolchain-clang = "${@bb.utils.contains("TUNE_FEATURES", "bigendian", " -mbig-endian", " -mlittle-endian", d)}" |
39 | # Qemu uses 7400 but fails to emulate VSX/altivec instrs e.g. xor and fails with illegal instructions especially on musl/strspn.c | ||
40 | # Workaround the qemu limitation by disable altivec in code generation, gcc does not use altivec, so code generated with clang is | ||
41 | # superior but sadly qemu starts to puke :(, maybe it will work ok on real hardware !! | ||
42 | TUNE_CCARGS:append:toolchain-clang = "${@bb.utils.contains("TUNE_FEATURES", "ppc7400", " -mno-altivec", "", d)}" | ||
43 | 39 | ||
44 | # Clang does not yet support big.LITTLE performance tunes, so use the LITTLE for tunes | 40 | # Clang does not yet support big.LITTLE performance tunes, so use the LITTLE for tunes |
45 | TUNE_CCARGS:remove:toolchain-clang = "-mcpu=cortex-a57.cortex-a53 -mcpu=cortex-a72.cortex-a53 -mcpu=cortex-a15.cortex-a7 -mcpu=cortex-a17.cortex-a7 -mcpu=cortex-a72.cortex-a35 -mcpu=cortex-a73.cortex-a53 -mcpu=cortex-a75.cortex-a55 -mcpu=cortex-a76.cortex-a55" | 41 | TUNE_CCARGS:remove:toolchain-clang = "-mcpu=cortex-a57.cortex-a53 -mcpu=cortex-a72.cortex-a53 -mcpu=cortex-a15.cortex-a7 -mcpu=cortex-a17.cortex-a7 -mcpu=cortex-a72.cortex-a35 -mcpu=cortex-a73.cortex-a53 -mcpu=cortex-a75.cortex-a55 -mcpu=cortex-a76.cortex-a55" |