From: Karel Kočí Date: Wed, 3 Jan 2018 17:23:24 +0000 (+0100) Subject: dev-libs/libgpg-error: fix build when BUILD_CC contains spaces X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=35cb4fde12ccb0d423d7b3c74c8539240437848f;p=gentoo.git dev-libs/libgpg-error: fix build when BUILD_CC contains spaces Filled compiler can be more than just compiler executable name. If 32bit abi is enable the -m32 is passed with it. Before this the -m32 was passed to configure script and it failed with error (because it clearly doesn't support -m32 switch). Bug: https://bugs.gentoo.org/643274 --- diff --git a/dev-libs/libgpg-error/libgpg-error-1.27-r1.ebuild b/dev-libs/libgpg-error/libgpg-error-1.27-r1.ebuild index e773110e7e9a..f074e8a58cad 100644 --- a/dev-libs/libgpg-error/libgpg-error-1.27-r1.ebuild +++ b/dev-libs/libgpg-error/libgpg-error-1.27-r1.ebuild @@ -37,7 +37,7 @@ src_prepare() { multilib_src_configure() { ECONF_SOURCE="${S}" econf \ - CC_FOR_BUILD=$(tc-getBUILD_CC) \ + CC_FOR_BUILD="$(tc-getBUILD_CC)" \ --enable-threads \ $(use_enable nls) \ $(use_enable static-libs static) \