diff options
| author | Khem Raj <raj.khem@gmail.com> | 2019-02-12 12:23:41 -0800 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2019-02-13 09:27:22 -0800 |
| commit | cfdc6c721c465c6ad111a401e2c3a2445f701a94 (patch) | |
| tree | f11a517307bc7742fe153008f7eaadf95763c111 | |
| parent | dbf2a0bd9a45c600b904ff2dc71869956a28beb1 (diff) | |
| download | meta-openembedded-cfdc6c721c465c6ad111a401e2c3a2445f701a94.tar.gz | |
gperftools: Use ARM ISA when using clang
It seemingly needs to be fixed in application, chromium also force ARM
ISA for internal gperftools
also see https://bugs.llvm.org/show_bug.cgi?id=31058
Fixes errors like below
| ../git/src/base/atomicops-internals-arm-v6plus.h:228:8: error: instruction requires: arm-mode
| "ldrexd %1, [%3]\n"
| ^
Signed-off-by: Khem Raj <raj.khem@gmail.com>
| -rw-r--r-- | meta-oe/recipes-support/gperftools/gperftools_2.7.bb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/gperftools/gperftools_2.7.bb b/meta-oe/recipes-support/gperftools/gperftools_2.7.bb index e9fcc4cc98..c8b91278da 100644 --- a/meta-oe/recipes-support/gperftools/gperftools_2.7.bb +++ b/meta-oe/recipes-support/gperftools/gperftools_2.7.bb | |||
| @@ -26,4 +26,5 @@ COMPATIBLE_HOST_mipsarch_libc-glibc = "null" | |||
| 26 | # {standard input}:434: Error: lo register required -- `ldr pc,[sp]' | 26 | # {standard input}:434: Error: lo register required -- `ldr pc,[sp]' |
| 27 | # Makefile:4538: recipe for target 'src/base/libtcmalloc_la-linuxthreads.lo' failed | 27 | # Makefile:4538: recipe for target 'src/base/libtcmalloc_la-linuxthreads.lo' failed |
| 28 | ARM_INSTRUCTION_SET_armv5 = "arm" | 28 | ARM_INSTRUCTION_SET_armv5 = "arm" |
| 29 | ARM_INSTRUCTION_SET_toolchain-clang_arm = "arm" | ||
| 29 | 30 | ||
