diff options
author | QMK Bot <hello@qmk.fm> | 2021-12-29 21:36:08 +0000 |
---|---|---|
committer | QMK Bot <hello@qmk.fm> | 2021-12-29 21:36:08 +0000 |
commit | dde5cd1c54fc6f93ff439666f5c421a451e4e8dd (patch) | |
tree | addd097aae877b9fa0fb39e21564929370a1e243 /lib/python/qmk | |
parent | c8af82432dc42be0a71cb3e5822fc3276994b1ca (diff) | |
parent | 1a8a842cfb3e87a82afb57ba29ca59c5fa6fe97b (diff) | |
download | qmk_firmware-dde5cd1c54fc6f93ff439666f5c421a451e4e8dd.tar.gz qmk_firmware-dde5cd1c54fc6f93ff439666f5c421a451e4e8dd.zip |
Merge remote-tracking branch 'origin/master' into develop
Diffstat (limited to 'lib/python/qmk')
-rwxr-xr-x | lib/python/qmk/cli/generate/compilation_database.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/python/qmk/cli/generate/compilation_database.py b/lib/python/qmk/cli/generate/compilation_database.py index 602635270c..7ac0f740fe 100755 --- a/lib/python/qmk/cli/generate/compilation_database.py +++ b/lib/python/qmk/cli/generate/compilation_database.py @@ -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(" "): |