提交 b2a87ca7 编写于 作者: Y yinchuang

Remove lto from asan,fuzz,coverage

Issue:I7PIK2
Signed-off-by: Nyinchuang <yinchuang@huawei.com>
Test:libctest
上级 9cf33d8b
......@@ -576,9 +576,12 @@ template("musl_libs") {
"-fPIC",
"-ffreestanding",
"-fstack-protector-strong",
"-flto",
]
if (!(use_libfuzzer || is_mac || is_asan || use_clang_coverage)) {
cflags += [ "-flto" ]
}
if (use_jemalloc) {
defines += [ "USE_JEMALLOC" ]
if (use_jemalloc_dfx_intf) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册