Skip to contentSkip to conversation

ruby: make build deterministic by adding PACKAGECONFIG for valgrind

PATCH New [email protected] 1 participant 1 message Oct 21, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ruby: make build deterministic by adding PACKAGECONFIG for valgrind

From: Jackie Huang <[email protected]>

* 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

---
 meta-ruby/recipes-devtools/ruby/ruby_1.9.3-p547.bb | 3 +++
 1 file changed, 3 insertions(+)
meta-ruby/recipes-devtools/ruby/ruby_1.9.3-p547.bb +3 -0
index 2d5938f..834cb71 100644
@@ -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 \
Signature · 1 line
2.0.0