|
|
|
@ -234,8 +234,8 @@ fn build_rocksdb() { |
|
|
|
|
config.define("ROCKSDB_PLATFORM_POSIX", None); |
|
|
|
|
config.define("ROCKSDB_LIB_IO_POSIX", None); |
|
|
|
|
println!("cargo:rustc-link-arg=-pthread"); |
|
|
|
|
println!("cargo:rustc-link-lib=static=execinfo"); |
|
|
|
|
println!("cargo:rustc-link-lib=static=crypto"); |
|
|
|
|
//println!("cargo:rustc-link-lib=execinfo");
|
|
|
|
|
println!("cargo:rustc-link-lib=crypto"); |
|
|
|
|
config.flag("-fno-builtin-memcmp"); |
|
|
|
|
config.flag_if_supported("-faligned-new"); |
|
|
|
|
config.flag("-Wshorten-64-to-32"); |
|
|
|
|