diff options
author | CoprDistGit <infra@openeuler.org> | 2024-08-05 01:51:57 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2024-08-05 01:51:57 +0000 |
commit | 9006940685aaa73e379ed22e565bff7a38778e18 (patch) | |
tree | fce5864408c549b5091fcd3f19a3f745cb6769d2 /0002-src-common-CMakeLists.txt.patch | |
parent | 2176a6d653558b061ddc0c93c2e6666554e40c66 (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}") |