diff options
author | Andreas Sturmlechner <andreas.sturmlechner@gmail.com> | 2016-06-07 14:46:47 +0200 |
---|---|---|
committer | NP-Hardass <NP-Hardass@gentoo.org> | 2016-06-07 13:13:26 -0400 |
commit | 1ea1516c59b79a1cdcbdc475b133faf8f65cb776 (patch) | |
tree | 19022a3a406ef83af733e04d79390e173ec2db5f /app-emulation/wine/wine-9999.ebuild | |
parent | app-admin/conky-1.10.1-r0: add ~alpha keyword (diff) | |
download | gentoo-1ea1516c59b79a1cdcbdc475b133faf8f65cb776.tar.gz gentoo-1ea1516c59b79a1cdcbdc475b133faf8f65cb776.tar.bz2 gentoo-1ea1516c59b79a1cdcbdc475b133faf8f65cb776.zip |
app-emulation/wine: Fix ebuild bug with !abi_x86_64
Gentoo-bug: 585250
Closes #1624
Package-Manager: portage-2.2.28
Signed-off-by: NP-Hardass <NP-Hardass@gentoo.org>
Diffstat (limited to 'app-emulation/wine/wine-9999.ebuild')
-rw-r--r-- | app-emulation/wine/wine-9999.ebuild | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/app-emulation/wine/wine-9999.ebuild b/app-emulation/wine/wine-9999.ebuild index 35f0ebff19f9..529dfbe03cd8 100644 --- a/app-emulation/wine/wine-9999.ebuild +++ b/app-emulation/wine/wine-9999.ebuild @@ -192,15 +192,17 @@ wine_build_environment_check() { fi fi - if use abi_x86_64 && einfo "Checking for builtin_ms_va_list ..." && \ - ( $(tc-getCC) -O2 "${FILESDIR}"/builtin_ms_va_list.c -o "${T}"/builtin_ms_va_list >/dev/null 2>&1) ; then - einfo "$(tc-getCC) supports builtin_ms_va_list, enabling 64-bit wine" - else - eerror "This version of $(tc-getCC) does not support builtin_ms_va_list, can't enable 64-bit wine" - eerror - eerror "You need gcc-4.4+ or clang 3.8+ to build 64-bit wine" - eerror - return 1 + if use abi_x86_64; then + einfo "Checking for builtin_ms_va_list ..." + if ( $(tc-getCC) -O2 "${FILESDIR}"/builtin_ms_va_list.c -o "${T}"/builtin_ms_va_list >/dev/null 2>&1) ; then + einfo "$(tc-getCC) supports builtin_ms_va_list, enabling 64-bit wine" + else + eerror "This version of $(tc-getCC) does not support builtin_ms_va_list, can't enable 64-bit wine" + eerror + eerror "You need gcc-4.4+ or clang 3.8+ to build 64-bit wine" + eerror + return 1 + fi fi if use abi_x86_32 && use opencl && [[ x$(eselect opencl show 2> /dev/null) = "xintel" ]]; then |