Skip to content

Commit

Permalink
define of HAS_SSE2
Browse files Browse the repository at this point in the history
  • Loading branch information
mschwarzl authored and kornelski committed Nov 23, 2023
1 parent 9d370f5 commit 7aa5103
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions configure
Original file line number Diff line number Diff line change
Expand Up @@ -862,8 +862,8 @@ void foo(void) {
}
EOF
if try $CC -msse2 $CFLAGS $test.c -c $test; then
CFLAGS="-DINFLATE_CHUNK_SIMD_SSE2 -msse2 -DINFLATE_CHUNK_READ_64LE $CFLAGS"
SFLAGS="-DINFLATE_CHUNK_SIMD_SSE2 -msse2 -DINFLATE_CHUNK_READ_64LE $SFLAGS"
CFLAGS="-DINFLATE_CHUNK_SIMD_SSE2 -DHAS_SSE2 -msse2 -DINFLATE_CHUNK_READ_64LE $CFLAGS"
SFLAGS="-DINFLATE_CHUNK_SIMD_SSE2 -DHAS_SSE2 -msse2 -DINFLATE_CHUNK_READ_64LE $SFLAGS"
echo "Checking for SSE2 support ... Yes" | tee -a configure.log
else
echo "Checking for SSE2 support ... No" | tee -a configure.log
Expand Down

0 comments on commit 7aa5103

Please sign in to comment.