diff options
author | Khem Raj <raj.khem@gmail.com> | 2016-05-10 19:28:58 -0700 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2016-05-10 19:28:58 -0700 |
commit | 8a8d7388843ea4e16796459d7a4e60201ce92b3b (patch) | |
tree | f6d455f9ebc6adb1936113c4d0cd70775f0aab39 /recipes-core/meta | |
parent | f9c60c776a55df7a673ff6dddff1bc1b79147447 (diff) | |
download | meta-clang-8a8d7388843ea4e16796459d7a4e60201ce92b3b.tar.gz |
meta-environment: Remove cmdline options unknown to clang
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'recipes-core/meta')
-rw-r--r-- | recipes-core/meta/meta-environment.bbappend | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/recipes-core/meta/meta-environment.bbappend b/recipes-core/meta/meta-environment.bbappend index 3149492..72d9807 100644 --- a/recipes-core/meta/meta-environment.bbappend +++ b/recipes-core/meta/meta-environment.bbappend | |||
@@ -2,6 +2,13 @@ export TARGET_CLANGCC_ARCH = "${TARGET_CC_ARCH}" | |||
2 | TARGET_CLANGCC_ARCH_remove = "-mthumb-interwork" | 2 | TARGET_CLANGCC_ARCH_remove = "-mthumb-interwork" |
3 | TARGET_CLANGCC_ARCH_remove = "-mmusl" | 3 | TARGET_CLANGCC_ARCH_remove = "-mmusl" |
4 | TARGET_CLANGCC_ARCH_remove = "-muclibc" | 4 | TARGET_CLANGCC_ARCH_remove = "-muclibc" |
5 | TARGET_CLANGCC_ARCH_remove = "-march=armv7ve" | ||
6 | TARGET_CLANGCC_ARCH_append_toolchain-clang = "${@bb.utils.contains("TUNE_FEATURES", "armv7ve", " -march=armv7a", "", d)}" | ||
7 | TARGET_CLANGCC_ARCH_remove_toolchain-clang = "-meb" | ||
8 | TARGET_CLANGCC_ARCH_remove_toolchain-clang = "-mel" | ||
9 | TARGET_CLANGCC_ARCH_append_toolchain-clang = "${@bb.utils.contains("TUNE_FEATURES", "bigendian", " -mbig-endian", " -mlittle-endian", d)}" | ||
10 | TARGET_CLANGCC_ARCH_remove_toolchain-clang_powerpc = "-mhard-float" | ||
11 | TARGET_CLANGCC_ARCH_remove_toolchain-clang_powerpc = "-mno-spe" | ||
5 | 12 | ||
6 | create_sdk_files_append() { | 13 | create_sdk_files_append() { |
7 | script=${SDK_OUTPUT}/${SDKPATH}/environment-setup-${REAL_MULTIMACH_TARGET_SYS} | 14 | script=${SDK_OUTPUT}/${SDKPATH}/environment-setup-${REAL_MULTIMACH_TARGET_SYS} |