summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2018-01-03 18:23:24 +0100
committerAlon Bar-Lev <alonbl@gentoo.org>2018-01-03 21:26:34 +0200
commit35cb4fde12ccb0d423d7b3c74c8539240437848f (patch)
treef2c90f10dc7b60cf24c17cc8c9f6cb4743997fd2 /dev-libs/libgpg-error/libgpg-error-1.27-r1.ebuild
parentapp-portage/gemato: Block incompatible mod from dev-python/pyliblzma (diff)
downloadgentoo-35cb4fde12ccb0d423d7b3c74c8539240437848f.tar.gz
gentoo-35cb4fde12ccb0d423d7b3c74c8539240437848f.tar.bz2
gentoo-35cb4fde12ccb0d423d7b3c74c8539240437848f.zip
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
Diffstat (limited to 'dev-libs/libgpg-error/libgpg-error-1.27-r1.ebuild')
-rw-r--r--dev-libs/libgpg-error/libgpg-error-1.27-r1.ebuild2
1 files changed, 1 insertions, 1 deletions
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) \