Permalink
Browse files

configure: Check assembler crc32 with user CXXFLAGS appended

To avoid the more obvious build failure, when user manually disables SSE 4.2.
  • Loading branch information...
luke-jr committed Jul 30, 2018
1 parent 8a9ffec commit bbeb2278e09827fa14ab22200bcae630a6ed03a2
Showing with 1 addition and 1 deletion.
  1. +1 −1 configure.ac
@@ -323,7 +323,7 @@ AX_CHECK_COMPILE_FLAG([-mavx -mavx2],[[AVX2_CXXFLAGS="-mavx -mavx2"]],,[[$CXXFLA
AX_CHECK_COMPILE_FLAG([-msse4 -msha],[[SHANI_CXXFLAGS="-msse4 -msha"]],,[[$CXXFLAG_WERROR]])

TEMP_CXXFLAGS="$CXXFLAGS"
CXXFLAGS="$CXXFLAGS $SSE42_CXXFLAGS"
CXXFLAGS="$SSE42_CXXFLAGS $CXXFLAGS"
AC_MSG_CHECKING(for assembler crc32 support)
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
#include <stdint.h>

0 comments on commit bbeb227

Please sign in to comment.