Skip to content

Commit 40104de

Browse files
dkruppbruntib
andauthored
Apply suggestions from code review
Co-authored-by: bruntib <bruntib@users.noreply.github.com>
1 parent 402acd2 commit 40104de

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

analyzer/tools/build-logger/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Set the following environment variables:
1616
~~~~~~~
1717
export LD_PRELOAD=ldlogger.so
1818
export LD_LIBRARY_PATH=`pwd`/build/lib:$LD_LIBRARY_PATH
19-
export CC_LOGGER_GCC_LIKE="gcc:g++:clang:clang++:cc:c++"
19+
export CC_LOGGER_GCC_LIKE="gcc:g++:clang:clang++:/cc:c++"
2020
# The output compilation JSON file.
2121
export CC_LOGGER_FILE=`pwd`/compilation.json
2222
# Log linker build actions to the JSON file. Optional. Default: false

analyzer/tools/build-logger/tests/unit/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ def get_envvars(self) -> Mapping[str, str]:
110110
"PATH": os.getenv("PATH"),
111111
"LD_PRELOAD": "ldlogger.so",
112112
"LD_LIBRARY_PATH": os.path.join(LOGGER_DIR, "lib"),
113-
"CC_LOGGER_GCC_LIKE": "gcc:g++:clang:clang++:cc:c++",
113+
"CC_LOGGER_GCC_LIKE": "gcc:g++:clang:clang++:/cc:c++",
114114
"CC_LOGGER_FILE": self.logger_file,
115115
"CC_LOGGER_DEBUG_FILE": self.logger_debug_file,
116116
}

0 commit comments

Comments
 (0)