summaryrefslogtreecommitdiff
path: root/rust-src/bch_bindgen/build.rs
diff options
context:
space:
mode:
Diffstat (limited to 'rust-src/bch_bindgen/build.rs')
-rw-r--r--rust-src/bch_bindgen/build.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/rust-src/bch_bindgen/build.rs b/rust-src/bch_bindgen/build.rs
index 819b337e..79337a0f 100644
--- a/rust-src/bch_bindgen/build.rs
+++ b/rust-src/bch_bindgen/build.rs
@@ -36,6 +36,7 @@ fn main() {
.clang_arg("-DZSTD_STATIC_LINKING_ONLY")
.clang_arg("-DNO_BCACHEFS_FS")
.clang_arg("-D_GNU_SOURCE")
+ .clang_arg("-DRUST_BINDGEN")
.clang_arg("-fkeep-inline-functions")
.derive_debug(true)
.derive_default(true)