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