]> git.ipfire.org Git - thirdparty/xz.git/commitdiff
Build: Remove check for COND_CHECK_CRC32 in check/Makefile.inc.
authorJia Tan <jiat0218@gmail.com>
Thu, 19 Oct 2023 08:23:32 +0000 (16:23 +0800)
committerJia Tan <jiat0218@gmail.com>
Thu, 19 Oct 2023 08:23:32 +0000 (16:23 +0800)
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.

src/liblzma/check/Makefile.inc

index 7780d20d7dd95d336d9791ebf40a2b87b761e5c8..6186e10a142d8dc4cc2d2259b87ce13c2c5d90a5 100644 (file)
@@ -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