aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJia Tan <jiat0218@gmail.com>2023-10-19 16:23:32 +0800
committerJia Tan <jiat0218@gmail.com>2023-10-19 16:23:32 +0800
commit105c7ca90d4152942e0798580a37f736d02faa22 (patch)
tree30a7252ca49ba9378617a6bf595861d532701461
parentCMake: Add ALLOW_CLMUL_CRC option to enable/disable CLMUL. (diff)
downloadxz-105c7ca90d4152942e0798580a37f736d02faa22.tar.xz
Build: Remove check for COND_CHECK_CRC32 in check/Makefile.inc.
Currently crc32 is always enabled, so COND_CHECK_CRC32 must always be set. Because of this, it makes the recent change to conditionally compile check/crc_clmul.c appear wrong since that file has CLMUL implementations for both CRC32 and CRC64.
-rw-r--r--src/liblzma/check/Makefile.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/liblzma/check/Makefile.inc b/src/liblzma/check/Makefile.inc
index 7780d20d..6186e10a 100644
--- a/src/liblzma/check/Makefile.inc
+++ b/src/liblzma/check/Makefile.inc
@@ -4,6 +4,8 @@
## This file has been put into the public domain.
## You can do whatever you want with this file.
##
+## Note: There is no check for COND_CHECK_CRC32 because
+## currently crc32 is always enabled.
EXTRA_DIST += \
check/crc32_tablegen.c \
@@ -14,7 +16,6 @@ liblzma_la_SOURCES += \
check/check.h \
check/crc_common.h
-if COND_CHECK_CRC32
if COND_SMALL
liblzma_la_SOURCES += check/crc32_small.c
else
@@ -31,7 +32,6 @@ liblzma_la_SOURCES += check/crc_clmul.c
endif
endif
endif
-endif
if COND_CHECK_CRC64
if COND_SMALL