Try to fix build on windows

master
Oleksandr Anyshchenko 5 years ago
parent a05151f6ae
commit eed3270342
  1. 8
      librocksdb-sys/build.rs

@ -98,10 +98,10 @@ fn build_rocksdb() {
// (about 2011).
config.define("HAVE_PCLMUL", Some("1"));
config.define("HAVE_SSE42", Some("1"));
config.flag("-msse2");
config.flag("-msse4.1");
config.flag("-msse4.2");
config.flag("-mpclmul");
config.flag_if_supported("-msse2");
config.flag_if_supported("-msse4.1");
config.flag_if_supported("-msse4.2");
config.flag_if_supported("-mpclmul");
}
if target.contains("darwin") {

Loading…
Cancel
Save