aboutsummaryrefslogtreecommitdiffstats
path: root/meta-ruby
diff options
context:
space:
mode:
authorJackie Huang <jackie.huang@windriver.com>2014-10-21 02:01:25 -0400
committerMartin Jansa <Martin.Jansa@gmail.com>2014-10-27 12:50:01 +0100
commitdeaab51df8a4cf9073b0f87a952475d0902b5a38 (patch)
treeed4d556171464b0dbfa23eb9a8298e335b90feab /meta-ruby
parent8e378559f63220b232706b0ba97525fbc9333058 (diff)
downloadmeta-openembedded-contrib-deaab51df8a4cf9073b0f87a952475d0902b5a38.tar.gz
meta-openembedded-contrib-deaab51df8a4cf9073b0f87a952475d0902b5a38.tar.bz2
meta-openembedded-contrib-deaab51df8a4cf9073b0f87a952475d0902b5a38.zip
ruby: make build deterministic by adding PACKAGECONFIG for valgrind
* disabled by default * fixes: ruby/1.9.3-p547-r1.0/ruby-1.9.3-p547/gc.c:43:32:fatal error: valgrind/memcheck.h: No such file or directory Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-ruby')
-rw-r--r--meta-ruby/recipes-devtools/ruby/ruby_1.9.3-p547.bb3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta-ruby/recipes-devtools/ruby/ruby_1.9.3-p547.bb b/meta-ruby/recipes-devtools/ruby/ruby_1.9.3-p547.bb
index 2d5938f874..834cb7187f 100644
--- a/meta-ruby/recipes-devtools/ruby/ruby_1.9.3-p547.bb
+++ b/meta-ruby/recipes-devtools/ruby/ruby_1.9.3-p547.bb
@@ -21,6 +21,9 @@ SRC_URI[sha256sum] = "9ba118e4aba04c430bc4d5efb09b31a0277e101c9fd2ef3b80b9c684d7
# 0001-socket-extconf-hardcode-wide-getaddr-info-test-outco.patch
UNKNOWN_CONFIGURE_WHITELIST += "--enable-wide-getaddrinfo"
+PACKAGECONFIG ??= ""
+PACKAGECONFIG[valgrind] = "--with-valgrind=yes, --with-valgrind=no, valgrind"
+
EXTRA_OECONF = "\
--enable-wide-getaddrinfo \
--disable-versioned-paths \