We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9a05a89 commit 0b13e2cCopy full SHA for 0b13e2c
utils/bazel/llvm-project-overlay/libc/libc_build_rules.bzl
@@ -78,6 +78,7 @@ def libc_function(
78
its deps.
79
**kwargs: Other attributes relevant for a cc_library. For example, deps.
80
"""
81
+
82
# We use the explicit equals pattern here because append and += mutate the
83
# original list, where this creates a new list and stores it in deps.
84
copts = copts or []
@@ -89,6 +90,7 @@ def libc_function(
89
90
"-fno-omit-frame-pointer",
91
"-fstack-protector-strong",
92
]
93
94
# x86 targets have -mno-omit-leaf-frame-pointer.
95
platform_copts = selects.with_or({
96
PLATFORM_CPU_X86_64: ["-mno-omit-leaf-frame-pointer"],
0 commit comments