From: Debian BOINC Maintainers Date: Thu, 14 Jul 2016 09:40:51 +0000 (+0000) Subject: _disable_avx_in_configure X-Git-Tag: archive/raspbian/8.00_svn3363-4+rpi1~1^2~8 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=86859b162a007979cb28c3cdf3108cf92e974da8;p=boinc-app-seti.git _disable_avx_in_configure Gbp-Pq: Name 001_disable_avx_in_configure.patch --- diff --git a/configure.ac b/configure.ac index 56073de..36a48ff 100644 --- a/configure.ac +++ b/configure.ac @@ -562,7 +562,8 @@ AH_TEMPLATE([HAVE_STD_MAX],[Define to 1 if max is in namespace std::]) AH_TEMPLATE([HAVE_STD_TRANSFORM],[Define to 1 if transform is in namespace std::]) SAH_FUNCS_IN_NAMESPACE([['min(0,0)'] ['max(0,0)'] ['transform((char *)0,(char *)0,(char *)0,(int(*)(int))malloc)']],std) -SAH_AVX +#SAH_AVX +have_avx=no AM_CONDITIONAL(USE_MY_IMAGELIBS, [false]) AM_CONDITIONAL(USE_MY_GLUT, [false]) diff --git a/m4/sah_avx.m4 b/m4/sah_avx.m4 index 10f8515..e71e756 100644 --- a/m4/sah_avx.m4 +++ b/m4/sah_avx.m4 @@ -2,7 +2,7 @@ AC_DEFUN([SAH_AVX],[ AC_LANG_PUSH(C) AC_MSG_CHECKING([if compiler supports -mavx]) save_cflags="${CFLAGS}" - CFLAGS="-mavx" + CFLAGS="${CFLAGS} -mavx" AC_COMPILE_IFELSE([AC_LANG_PROGRAM([],[return 0;])],[ have_avx=yes ],[