diff options
Diffstat (limited to 'meta/recipes-devtools/valgrind/valgrind_3.12.0.bb')
| -rw-r--r-- | meta/recipes-devtools/valgrind/valgrind_3.12.0.bb | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/meta/recipes-devtools/valgrind/valgrind_3.12.0.bb b/meta/recipes-devtools/valgrind/valgrind_3.12.0.bb index d5a8dda487..d7b6d77000 100644 --- a/meta/recipes-devtools/valgrind/valgrind_3.12.0.bb +++ b/meta/recipes-devtools/valgrind/valgrind_3.12.0.bb | |||
| @@ -24,6 +24,13 @@ SRC_URI = "http://www.valgrind.org/downloads/valgrind-${PV}.tar.bz2 \ | |||
| 24 | file://avoid-neon-for-targets-which-don-t-support-it.patch \ | 24 | file://avoid-neon-for-targets-which-don-t-support-it.patch \ |
| 25 | file://valgrind-make-ld-XXX.so-strlen-intercept-optional.patch \ | 25 | file://valgrind-make-ld-XXX.so-strlen-intercept-optional.patch \ |
| 26 | file://0001-makefiles-Drop-setting-mcpu-to-cortex-a8-on-arm-arch.patch \ | 26 | file://0001-makefiles-Drop-setting-mcpu-to-cortex-a8-on-arm-arch.patch \ |
| 27 | file://0001-str_tester.c-Limit-rawmemchr-test-to-glibc.patch \ | ||
| 28 | file://0001-sigqueue-Rename-_sifields-to-__si_fields-on-musl.patch \ | ||
| 29 | file://0002-context-APIs-are-not-available-on-musl.patch \ | ||
| 30 | file://0003-correct-include-directive-path-for-config.h.patch \ | ||
| 31 | file://0004-pth_atfork1.c-Define-error-API-for-musl.patch \ | ||
| 32 | file://0005-tc20_verifywrap.c-Fake-__GLIBC_PREREQ-with-musl.patch \ | ||
| 33 | file://0006-pth_detached3.c-Dereference-pthread_t-before-adding-.patch \ | ||
| 27 | " | 34 | " |
| 28 | SRC_URI_append_libc-musl = "\ | 35 | SRC_URI_append_libc-musl = "\ |
| 29 | file://0001-fix-build-for-musl-targets.patch \ | 36 | file://0001-fix-build-for-musl-targets.patch \ |
| @@ -67,6 +74,7 @@ CACHED_CONFIGUREVARS += "ac_cv_path_PERL='/usr/bin/env perl'" | |||
| 67 | SELECTED_OPTIMIZATION = "${DEBUG_FLAGS}" | 74 | SELECTED_OPTIMIZATION = "${DEBUG_FLAGS}" |
| 68 | 75 | ||
| 69 | CFLAGS_append_libc-uclibc = " -D__UCLIBC__ " | 76 | CFLAGS_append_libc-uclibc = " -D__UCLIBC__ " |
| 77 | CFLAGS += "-no-pie" | ||
| 70 | 78 | ||
| 71 | def get_mcpu(d): | 79 | def get_mcpu(d): |
| 72 | for arg in (d.getVar('TUNE_CCARGS') or '').split(): | 80 | for arg in (d.getVar('TUNE_CCARGS') or '').split(): |
| @@ -76,6 +84,10 @@ def get_mcpu(d): | |||
| 76 | continue | 84 | continue |
| 77 | return "" | 85 | return "" |
| 78 | 86 | ||
| 87 | do_configure_prepend () { | ||
| 88 | rm -rf ${S}/config.h | ||
| 89 | } | ||
| 90 | |||
| 79 | do_install_append () { | 91 | do_install_append () { |
| 80 | install -m 644 ${B}/default.supp ${D}/${libdir}/valgrind/ | 92 | install -m 644 ${B}/default.supp ${D}/${libdir}/valgrind/ |
| 81 | } | 93 | } |
