Skip to content

Commit 2afb6f8

Browse files
authored
Follow-up from PR #533
1 parent 2e9ed78 commit 2afb6f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler_opt/tools/profgen/toolchain.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ def __init__(
5757
tool_suffix="",
5858
extra_build_flags=None,
5959
):
60-
extra_build_flags = [] if extra_build_flags is None else extra_build_flags
60+
extra_build_flags = extra_build_flags or []
6161
tool_names = ["clang", "llc", "llvm-extract", "llvm-profdata"]
6262
tools = [
6363
os.path.join(toolchain_path, tool + tool_suffix) for tool in tool_names

0 commit comments

Comments
 (0)