[packages/bcachefs-tools] set additional bindgen flags through env var

atler atler at pld-linux.org
Mon Jan 22 02:00:38 CET 2024


commit 714313bcb16a0ffc7bbecb1d8250c738d002b3f5
Author: Jan Palus <atler at pld-linux.org>
Date:   Mon Jan 22 00:01:56 2024 +0100

    set additional bindgen flags through env var

 bcachefs-tools.spec | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/bcachefs-tools.spec b/bcachefs-tools.spec
index 6e4fc3c..2905d35 100644
--- a/bcachefs-tools.spec
+++ b/bcachefs-tools.spec
@@ -43,6 +43,7 @@ This package contains userspace tools to manage bcachefs.
 %build
 export RUSTFLAGS="%{rpmrustflags}"
 export PKG_CONFIG_ALLOW_CROSS=1
+export BINDGEN_EXTRA_CLANG_ARGS="%{rpmcflags} %{rpmcppflags}"
 %{__make} \
 	V=1 \
 	PREFIX="%{_prefix}" \
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/bcachefs-tools.git/commitdiff/714313bcb16a0ffc7bbecb1d8250c738d002b3f5



More information about the pld-cvs-commit mailing list