From 145a594421f0d42491ac415944259dec31649ab8 Mon Sep 17 00:00:00 2001 From: Robert Hensing Date: Mon, 20 Jan 2025 12:50:40 +0100 Subject: [PATCH] maint: Fix apparently ignored '' in BINDGEN_EXTRA_CLANG_ARGS (cherry picked from commit a6775b2b6209623f1e8f1cc837462a0804e0ab6e) --- rust/bindgen-gcc.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rust/bindgen-gcc.sh b/rust/bindgen-gcc.sh index d904b61..923a278 100644 --- a/rust/bindgen-gcc.sh +++ b/rust/bindgen-gcc.sh @@ -4,7 +4,7 @@ # This script tells it where to find them. echo "Extending BINDGEN_EXTRA_CLANG_ARGS with system include paths..." 2>&1 -BINDGEN_EXTRA_CLANG_ARGS="''${BINDGEN_EXTRA_CLANG_ARGS:-}" +BINDGEN_EXTRA_CLANG_ARGS="${BINDGEN_EXTRA_CLANG_ARGS:-}" export BINDGEN_EXTRA_CLANG_ARGS include_paths=$( echo | $NIX_CC_UNWRAPPED -v -E -x c - 2>&1 \