diff options
-rw-r--r-- | meta-oe/recipes-support/gperftools/gperftools_2.7.bb | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/meta-oe/recipes-support/gperftools/gperftools_2.7.bb b/meta-oe/recipes-support/gperftools/gperftools_2.7.bb index fdb82519bc..731c83516b 100644 --- a/meta-oe/recipes-support/gperftools/gperftools_2.7.bb +++ b/meta-oe/recipes-support/gperftools/gperftools_2.7.bb | |||
@@ -2,7 +2,6 @@ SUMMARY = "Fast, multi-threaded malloc() and nifty performance analysis tools" | |||
2 | HOMEPAGE = "https://github.com/gperftools/gperftools" | 2 | HOMEPAGE = "https://github.com/gperftools/gperftools" |
3 | LICENSE = "BSD-3-Clause" | 3 | LICENSE = "BSD-3-Clause" |
4 | LIC_FILES_CHKSUM = "file://COPYING;md5=762732742c73dc6c7fbe8632f06c059a" | 4 | LIC_FILES_CHKSUM = "file://COPYING;md5=762732742c73dc6c7fbe8632f06c059a" |
5 | DEPENDS += "libunwind" | ||
6 | 5 | ||
7 | SRCREV = "9608fa3bcf8020d35f59fbf70cd3cbe4b015b972" | 6 | SRCREV = "9608fa3bcf8020d35f59fbf70cd3cbe4b015b972" |
8 | SRC_URI = "git://github.com/gperftools/gperftools \ | 7 | SRC_URI = "git://github.com/gperftools/gperftools \ |
@@ -20,7 +19,7 @@ S = "${WORKDIR}/git" | |||
20 | # On mips, we have the following error. | 19 | # On mips, we have the following error. |
21 | # do_page_fault(): sending SIGSEGV to ls for invalid read access from 00000008 | 20 | # do_page_fault(): sending SIGSEGV to ls for invalid read access from 00000008 |
22 | # Segmentation fault (core dumped) | 21 | # Segmentation fault (core dumped) |
23 | COMPATIBLE_HOST_mipsarch_libc-glibc = "null" | 22 | COMPATIBLE_HOST_mipsarch = "null" |
24 | # Disable thumb1 | 23 | # Disable thumb1 |
25 | # {standard input}: Assembler messages: | 24 | # {standard input}: Assembler messages: |
26 | # {standard input}:434: Error: lo register required -- `ldr pc,[sp]' | 25 | # {standard input}:434: Error: lo register required -- `ldr pc,[sp]' |
@@ -28,9 +27,11 @@ COMPATIBLE_HOST_mipsarch_libc-glibc = "null" | |||
28 | ARM_INSTRUCTION_SET_armv5 = "arm" | 27 | ARM_INSTRUCTION_SET_armv5 = "arm" |
29 | ARM_INSTRUCTION_SET_toolchain-clang_arm = "arm" | 28 | ARM_INSTRUCTION_SET_toolchain-clang_arm = "arm" |
30 | 29 | ||
31 | # Ensure static libs are always enabled, as they seem to be not produced by | 30 | PACKAGECONFIG ?= "libunwind static" |
32 | # default at least on ARM. | 31 | PACKAGECONFIG_remove_arm_libc-musl = "libunwind" |
33 | EXTRA_OECONF_append += " --enable-static" | 32 | |
33 | PACKAGECONFIG[libunwind] = "--enable-libunwind,--disable-libunwind,libunwind" | ||
34 | PACKAGECONFIG[static] = "--enable-static,--disable-static," | ||
34 | 35 | ||
35 | PACKAGE_BEFORE_PN += "libtcmalloc-minimal" | 36 | PACKAGE_BEFORE_PN += "libtcmalloc-minimal" |
36 | FILES_libtcmalloc-minimal = "${libdir}/libtcmalloc_minimal*${SOLIBS} ${libdir}/libtcmalloc_minimal_debug*${SOLIBS}" | 37 | FILES_libtcmalloc-minimal = "${libdir}/libtcmalloc_minimal*${SOLIBS} ${libdir}/libtcmalloc_minimal_debug*${SOLIBS}" |