Skip to content

Commit 943b234

Browse files
fix bazel
1 parent db54ba1 commit 943b234

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

utils/bazel/llvm-project-overlay/libc/libc_build_rules.bzl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ def libc_function(
8080
"""
8181
# We use the explicit equals pattern here because append and += mutate the
8282
# original list, where this creates a new list and stores it in deps.
83+
copts = copts or []
8384
copts = copts + [
8485
"-O3",
8586
"-fno-builtin",

0 commit comments

Comments
 (0)