From 846abdaaa238ad0005d2bcd16a4f6339c96b3a9f Mon Sep 17 00:00:00 2001 From: Niko PLP Date: Thu, 17 Aug 2023 04:14:06 +0300 Subject: [PATCH] removed arch haswell for openbsd --- librocksdb-sys/build.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/librocksdb-sys/build.rs b/librocksdb-sys/build.rs index 584388e..57264fd 100644 --- a/librocksdb-sys/build.rs +++ b/librocksdb-sys/build.rs @@ -234,7 +234,7 @@ fn build_rocksdb() { config.flag("-fno-builtin-memcmp"); config.define("_REENTRANT", None); } else if target.contains("openbsd") { - config.flag("-march=haswell"); + //config.flag("-march=haswell"); config.define("OS_OPENBSD", None); config.define("ROCKSDB_PLATFORM_POSIX", None); config.define("ROCKSDB_LIB_IO_POSIX", None);