diff options
| author | Khem Raj <raj.khem@gmail.com> | 2022-12-07 18:21:54 -0800 |
|---|---|---|
| committer | Armin Kuster <akuster808@gmail.com> | 2023-01-23 10:15:33 -0500 |
| commit | f8cb46d803190bb02085c8a7d20957a71d32f311 (patch) | |
| tree | 93416e9a3f2deaf06210eff4d5a1c77f21119f30 /meta-oe | |
| parent | 84ba7671136d02a7d86b23be49bf8a57ac42d378 (diff) | |
| download | meta-openembedded-f8cb46d803190bb02085c8a7d20957a71d32f311.tar.gz | |
perfetto: Do not pass TUNE_CCARGS to native/host compiler
TUNE_CCARGS are meant to be passed to target compilers only. This fixes
build failures seen on qemux6
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Markus Volk <f_l_k@t-online.de>
(cherry picked from commit 90ea68fc11181a62741e4ca79dfef0fefe48cb41)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Diffstat (limited to 'meta-oe')
| -rw-r--r-- | meta-oe/recipes-devtools/perfetto/perfetto.bb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/meta-oe/recipes-devtools/perfetto/perfetto.bb b/meta-oe/recipes-devtools/perfetto/perfetto.bb index 86ab18cacf..d1980a0097 100644 --- a/meta-oe/recipes-devtools/perfetto/perfetto.bb +++ b/meta-oe/recipes-devtools/perfetto/perfetto.bb | |||
| @@ -100,12 +100,12 @@ do_configure () { | |||
| 100 | 100 | ||
| 101 | # If using the clang toolchain: use the clang host-side binaries built by Bitbake | 101 | # If using the clang toolchain: use the clang host-side binaries built by Bitbake |
| 102 | if [ "${TOOLCHAIN}" = "clang" ]; then | 102 | if [ "${TOOLCHAIN}" = "clang" ]; then |
| 103 | BB_CLANGXX="${BUILD_CXX} ${BUILD_LDFLAGS} ${TUNE_CCARGS}" | 103 | BB_CLANGXX="${BUILD_CXX} ${BUILD_LDFLAGS}" |
| 104 | BB_CLANG="${BUILD_CC} ${TUNE_CCARGS}" | 104 | BB_CLANG="${BUILD_CC}" |
| 105 | BB_LLVM_OBJCOPY="${RECIPE_SYSROOT_NATIVE}/usr/bin/llvm-objcopy" | 105 | BB_LLVM_OBJCOPY="${RECIPE_SYSROOT_NATIVE}/usr/bin/llvm-objcopy" |
| 106 | 106 | ||
| 107 | HOST_CLANGXX="${STAGING_DIR_NATIVE}/usr/bin/clang++ -stdlib=libc++ -rtlib=libgcc -unwindlib=libgcc ${TUNE_CCARGS}" | 107 | HOST_CLANGXX="${STAGING_DIR_NATIVE}/usr/bin/clang++ -stdlib=libc++ -rtlib=libgcc -unwindlib=libgcc" |
| 108 | HOST_CLANG="${STAGING_DIR_NATIVE}/usr/bin/clang ${TUNE_CCARGS}" | 108 | HOST_CLANG="${STAGING_DIR_NATIVE}/usr/bin/clang" |
| 109 | HOST_LLVM_OBJCOPY="${STAGING_DIR_NATIVE}/usr/bin/llvm-objcopy" | 109 | HOST_LLVM_OBJCOPY="${STAGING_DIR_NATIVE}/usr/bin/llvm-objcopy" |
| 110 | 110 | ||
| 111 | cd gcc_like_host | 111 | cd gcc_like_host |
