From: Debian BOINC Maintainers Date: Thu, 17 May 2018 08:09:59 +0000 (+0100) Subject: _disable_avx_in_configure X-Git-Tag: archive/raspbian/8.00_svn3725-2+rpi1^2~10 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=643f8a03b0151fdf630de82810d2c721b8bd8c0f;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 a007d6d..b0d1e15 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 ],[