~ruther/qmk_firmware

dde5cd1c54fc6f93ff439666f5c421a451e4e8dd — QMK Bot 3 years ago c8af824 + 1a8a842
Merge remote-tracking branch 'origin/master' into develop
1 files changed, 2 insertions(+), 1 deletions(-)

M lib/python/qmk/cli/generate/compilation_database.py
M lib/python/qmk/cli/generate/compilation_database.py => lib/python/qmk/cli/generate/compilation_database.py +2 -1
@@ 26,7 26,8 @@ def system_libs(binary: str) -> List[Path]:

    # Actually query xxxxxx-gcc to find its include paths.
    if binary.endswith("gcc") or binary.endswith("g++"):
        result = cli.run([binary, '-E', '-Wp,-v', '-'], capture_output=True, check=True, input='\n')
        # (TODO): Remove 'stdin' once 'input' no longer causes issues under MSYS
        result = cli.run([binary, '-E', '-Wp,-v', '-'], capture_output=True, check=True, stdin=None, input='\n')
        paths = []
        for line in result.stderr.splitlines():
            if line.startswith(" "):