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