From: Hans de Graaff Date: Mon, 2 Apr 2018 06:55:36 +0000 (+0200) Subject: fix compilation when functions are not inlined X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=f6f304336d036d81d199cd4be4a9975ec9840d5e;p=gentoo.git fix compilation when functions are not inlined Closes: https://bugs.gentoo.org/629164 Package-Manager: Portage-2.3.24, Repoman-2.3.6 --- diff --git a/dev-ruby/bcrypt_pbkdf/bcrypt_pbkdf-1.0.0.ebuild b/dev-ruby/bcrypt_pbkdf/bcrypt_pbkdf-1.0.0.ebuild index 692e9373f3d6..0370d8002246 100644 --- a/dev-ruby/bcrypt_pbkdf/bcrypt_pbkdf-1.0.0.ebuild +++ b/dev-ruby/bcrypt_pbkdf/bcrypt_pbkdf-1.0.0.ebuild @@ -30,6 +30,9 @@ all_ruby_prepare() { each_ruby_configure() { ${RUBY} -Cext/mri extconf.rb || die + + # Some methods may not be inlined on x86 but they are not defined either, bug 629164 + sed -i -e 's:-Wl,--no-undefined::' ext/mri/Makefile || die } each_ruby_compile() {