mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
media-libs/nas: workaround imake argument splitting
IMAKECPP normally doesn't support arguments but was given the same basic support as IMAKEINCLUDE which doesn't handle multiple spaces or tab, and an empty get_abi_CFLAGS would result in two spaces without an argument. So use an array and word splitting to normalize. Closes: https://bugs.gentoo.org/884203 Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
This commit is contained in:
@@ -53,8 +53,10 @@ multilib_src_configure() {
|
||||
pushd config || die
|
||||
econf
|
||||
popd || die
|
||||
|
||||
local cpp=($(get_abi_CHOST ${DEFAULT_ABI})-gcc $(get_abi_CFLAGS) -E) #884203
|
||||
CC="$(tc-getBUILD_CC)" LD="$(tc-getLD)" \
|
||||
IMAKECPP="${IMAKECPP:-$(get_abi_CHOST ${DEFAULT_ABI})-gcc $(get_abi_CFLAGS) -E}" \
|
||||
IMAKECPP="${IMAKECPP:-${cpp[*]}}" \
|
||||
xmkmf -a || die
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user