From f6f304336d036d81d199cd4be4a9975ec9840d5e Mon Sep 17 00:00:00 2001 From: Hans de Graaff Date: Mon, 2 Apr 2018 08:55:36 +0200 Subject: [PATCH] fix compilation when functions are not inlined Closes: https://bugs.gentoo.org/629164 Package-Manager: Portage-2.3.24, Repoman-2.3.6 --- dev-ruby/bcrypt_pbkdf/bcrypt_pbkdf-1.0.0.ebuild | 3 +++ 1 file changed, 3 insertions(+) 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() { -- 2.26.2