Skip to content

Commit

Permalink
fixup! build system: add new compile-commands make target
Browse files Browse the repository at this point in the history
  • Loading branch information
maribu committed Mar 22, 2021
1 parent 230deb8 commit a031bd0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dist/tools/compile_commands/compile_commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def detect_includes_and_version_gcc(compiler):

stderrdata = stderrdata.decode("utf-8")
version = REGEX_VERSION.search(stderrdata).group(1)
includes = [ os.path.abspath(p) for p in REGEX_INCLUDES.search(stderrdata).group(1).split() ]
includes = [os.path.abspath(p) for p in REGEX_INCLUDES.search(stderrdata).group(1).split()]

return (includes, version)

Expand Down

0 comments on commit a031bd0

Please sign in to comment.