removed arch haswell for openbsd

master
Niko PLP 1 year ago
parent 3da534823f
commit 846abdaaa2
  1. 2
      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);

Loading…
Cancel
Save