dev-libs/libgpg-error: fix build when BUILD_CC contains spaces
authorKarel Kočí <cynerd@email.cz>
Wed, 3 Jan 2018 17:23:24 +0000 (18:23 +0100)
committerAlon Bar-Lev <alonbl@gentoo.org>
Wed, 3 Jan 2018 19:26:34 +0000 (21:26 +0200)
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

index e773110e7e9aca9d2383cb1e7838854c7399f0c0..f074e8a58cadd07c8a224e5b3803025504b667d8 100644 (file)
@@ -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) \