diff options
author | CoprDistGit <infra@openeuler.org> | 2024-08-01 11:59:16 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2024-08-01 11:59:16 +0000 |
commit | 94fe108d30e51b788427f4a166425c702f9b9e8f (patch) | |
tree | fce5864408c549b5091fcd3f19a3f745cb6769d2 /0002-src-common-CMakeLists.txt.patch | |
parent | fa6c4cd3849302e6ddbdbedffcb20771d7fca2e6 (diff) |
automatic import of cephopeneuler24.03_LTS
Diffstat (limited to '0002-src-common-CMakeLists.txt.patch')
-rw-r--r-- | 0002-src-common-CMakeLists.txt.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/0002-src-common-CMakeLists.txt.patch b/0002-src-common-CMakeLists.txt.patch new file mode 100644 index 0000000..e3252b3 --- /dev/null +++ b/0002-src-common-CMakeLists.txt.patch @@ -0,0 +1,13 @@ +diff --git a/src/common/CMakeLists.txt b/src/common/CMakeLists.txt +index 65ba10b0f1..eeedc29c37 100644 +--- a/src/common/CMakeLists.txt ++++ b/src/common/CMakeLists.txt +@@ -165,7 +165,7 @@ elseif(HAVE_ARMV8_CRC) + crc32c_aarch64.c) + endif(HAVE_INTEL) + +-add_library(crc32 ${crc32_srcs}) ++add_library(crc32 STATIC ${crc32_srcs}) + if(HAVE_ARMV8_CRC) + set_target_properties(crc32 PROPERTIES + COMPILE_FLAGS "${CMAKE_C_FLAGS} ${ARMV8_CRC_COMPILE_FLAGS}") |