diff --git a/crates/libduckdb-sys/build.rs b/crates/libduckdb-sys/build.rs index 9cbba362..1ae4533a 100644 --- a/crates/libduckdb-sys/build.rs +++ b/crates/libduckdb-sys/build.rs @@ -160,8 +160,7 @@ mod build_bundled { .flag_if_supported("-stdlib=libstdc++") .flag_if_supported("/bigobj") .warnings(false) - .flag_if_supported("-w") - .flag_if_supported("/D_DISABLE_CONSTEXPR_MUTEX_CONSTRUCTOR"); + .flag_if_supported("-w"); if win_target() { cfg.define("DUCKDB_BUILD_LIBRARY", None);