commit:     35cb4fde12ccb0d423d7b3c74c8539240437848f
Author:     Karel Kočí <cynerd <AT> email <DOT> cz>
AuthorDate: Wed Jan  3 17:23:24 2018 +0000
Commit:     Alon Bar-Lev <alonbl <AT> gentoo <DOT> org>
CommitDate: Wed Jan  3 19:26:34 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=35cb4fde

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 e773110e7e9..f074e8a58ca 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) \

Reply via email to