summarylogtreecommitdiffstats
path: root/marsdev.sh
blob: 111e2c25675b13beddeec7e49305d0c9ec47a0e5 (plain)
1
2
3
4
5
6
#!/bin/bash

if [[ -x /opt/marsdev/m68k-elf/bin/m68k-elf-gcc && -z "$CLANGD_FLAGS" ]]; then
    # See: https://clangd.llvm.org/guides/system-headers#query-driver
    export CLANGD_FLAGS='--query-driver="/opt/marsdev/*-elf/bin/*"'
fi