1
0
Fork 0
systemd/mkosi/mkosi.clangd
Daniel Baumann ce097cb8f4
Adding upstream version 257.7.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-25 18:07:44 +02:00

17 lines
364 B
Bash
Executable file

#!/bin/bash
# SPDX-License-Identifier: LGPL-2.1-or-later
set -e
if command -v flatpak-spawn >/dev/null; then
SPAWN=(flatpak-spawn --host)
else
SPAWN=()
fi
exec "${SPAWN[@]}" \
mkosi sandbox -- \
clangd \
--compile-commands-dir=build \
--path-mappings="\
$(pwd)/mkosi.tools/usr/include=/usr/include" \
"$@"