|
|
|
@ -196,7 +196,9 @@ fn build_rocksdb() { |
|
|
|
|
config.define("ROCKSDB_LIB_IO_POSIX", None); |
|
|
|
|
env::set_var("IPHONEOS_DEPLOYMENT_TARGET", "12.0"); |
|
|
|
|
} else if target.contains("darwin") { |
|
|
|
|
config.flag("-march=haswell"); |
|
|
|
|
if !target.contains("aarch64-apple-darwin") { |
|
|
|
|
config.flag("-march=haswell"); |
|
|
|
|
} |
|
|
|
|
config.define("OS_MACOSX", None); |
|
|
|
|
config.define("ROCKSDB_PLATFORM_POSIX", None); |
|
|
|
|
config.define("ROCKSDB_LIB_IO_POSIX", None); |
|
|
|
|