From cb89166380ad91b8ae239e1cb5d023a04420d028 Mon Sep 17 00:00:00 2001 From: Tpt Date: Mon, 15 May 2023 19:45:30 +0200 Subject: [PATCH] RocksDB: Avoids building twice util/crc32c_arm64.cc on aarch64 --- oxrocksdb-sys/build.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/oxrocksdb-sys/build.rs b/oxrocksdb-sys/build.rs index f1884dbf..29f3fdda 100644 --- a/oxrocksdb-sys/build.rs +++ b/oxrocksdb-sys/build.rs @@ -88,8 +88,6 @@ fn build_rocksdb() { config.define("HAVE_LZCNT", Some("1")); config.flag_if_supported("-mlzcnt"); } - } else if target.contains("aarch64") { - lib_sources.push("util/crc32c_arm64.cc") } if target.contains("apple-ios") {