maint: Fix apparently ignored '' in BINDGEN_EXTRA_CLANG_ARGS

(cherry picked from commit a6775b2b6209623f1e8f1cc837462a0804e0ab6e)
This commit is contained in:
Robert Hensing 2025-01-20 12:50:40 +01:00
parent 7149699020
commit 145a594421

View file

@ -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 \