Skip to content

Commit

Permalink
Merge pull request #679 from SiarheiFedartsou/sf-apple-silicon2
Browse files Browse the repository at this point in the history
Do not use SSE flags on arm64 platform
  • Loading branch information
albarrentine authored Dec 24, 2024
2 parents 7245a17 + 4f51945 commit 9e5af6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ AC_ARG_ENABLE([sse2],
)
)

AS_IF([test "x$enable_sse2" != "xno"], [
AS_IF([test "x$enable_sse2" != "xno" && test "x$(uname -m)" != "xarm64"], [
CFLAGS="-mfpmath=sse -msse2 -DUSE_SSE ${CFLAGS}"
])

Expand Down

0 comments on commit 9e5af6b

Please sign in to comment.