|
|
@ -94,8 +94,8 @@ fn build_rocksdb() { |
|
|
|
.cloned() |
|
|
|
.cloned() |
|
|
|
.filter(|file| match *file { |
|
|
|
.filter(|file| match *file { |
|
|
|
"port/port_posix.cc" | |
|
|
|
"port/port_posix.cc" | |
|
|
|
"util/env_posix.cc" | |
|
|
|
"env/env_posix.cc" | |
|
|
|
"util/io_posix.cc" => false, |
|
|
|
"env/io_posix.cc" => false, |
|
|
|
_ => true, |
|
|
|
_ => true, |
|
|
|
}) |
|
|
|
}) |
|
|
|
.collect::<Vec<&'static str>>(); |
|
|
|
.collect::<Vec<&'static str>>(); |
|
|
@ -112,11 +112,10 @@ fn build_rocksdb() { |
|
|
|
config.flag("-EHsc"); |
|
|
|
config.flag("-EHsc"); |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
config.flag("-std=c++11"); |
|
|
|
config.flag("-std=c++11"); |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// this was breaking the build on travis due to
|
|
|
|
// this was breaking the build on travis due to
|
|
|
|
// > 4mb of warnings emitted.
|
|
|
|
// > 4mb of warnings emitted.
|
|
|
|
config.flag("-Wno-unused-parameter"); |
|
|
|
config.flag("-Wno-unused-parameter"); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
for file in lib_sources { |
|
|
|
for file in lib_sources { |
|
|
|
let file = "rocksdb/".to_string() + file; |
|
|
|
let file = "rocksdb/".to_string() + file; |
|
|
|