Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 732084 | Differences between
and this patch

Collapse All | Expand All

(-)a/configure.ac (-1 / +1 lines)
Lines 234-240 if test x"$enable_simd" != x"no"; then Link Here
234
    # For x86-64 SIMD, g++ >=5 or clang++ >=7 is required
234
    # For x86-64 SIMD, g++ >=5 or clang++ >=7 is required
235
    if test x"$host_cpu" = x"x86_64"; then
235
    if test x"$host_cpu" = x"x86_64"; then
236
	AC_LANG(C++)
236
	AC_LANG(C++)
237
	if test x"$host_cpu" = x"$build_cpu"; then
237
	if test x"$host" = x"$build"; then
238
	    AC_RUN_IFELSE([AC_LANG_PROGRAM([SIMD_X86_64_TEST],[[if (test_ssse3(42) != 42 || test_sse2(42) != 42 || test_avx2(42) != 42) exit(1);]])],
238
	    AC_RUN_IFELSE([AC_LANG_PROGRAM([SIMD_X86_64_TEST],[[if (test_ssse3(42) != 42 || test_sse2(42) != 42 || test_avx2(42) != 42) exit(1);]])],
239
		[CXX_OK=yes],[CXX_OK=no])
239
		[CXX_OK=yes],[CXX_OK=no])
240
	else
240
	else

Return to bug 732084