Fix undefined references for x86_64 Android.
@@ -15,7 +15,11 @@ IF (GCC AND USE_LTO)
ENDIF ()
IF (ARCH_I386 OR ARCH_X86_64)
- IF (OS_LINUX OR OS_DARWIN OR OS_IOS OR OS_FREEBSD OR CYGWIN)
+ IF (OS_WINDOWS)
+ SRCS(multiword_64_64_cl_i386_mmx.cc)
+ ELSEIF(OS_ANDROID AND ARCH_I386)
+ # 32-bit Android has some problems with register allocation, so we fall back to default implementation
+ ELSE()
IF (CLANG)
CFLAGS(
-DCRCUTIL_USE_MM_CRC32=1
@@ -37,12 +41,6 @@ IF (ARCH_I386 OR ARCH_X86_64)
multiword_64_64_gcc_amd64_asm.cc
)
ENDIF()
-
- IF (OS_WINDOWS)
- SRCS(
- multiword_64_64_cl_i386_mmx.cc
- )
- ENDIF()
ENDIF ()
SRCS(
