From 35cb4fde12ccb0d423d7b3c74c8539240437848f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Wed, 3 Jan 2018 18:23:24 +0100 Subject: [PATCH] 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 --- dev-libs/libgpg-error/libgpg-error-1.27-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) \ -- 2.26.2