未验证 提交 0cfe571f 编写于 作者: O openharmony_ci 提交者: Gitee

!231 解决hook功能和asan版本冲突

Merge pull request !231 from 野生毛霉君/master
......@@ -157,9 +157,12 @@ template("musl_libs") {
"-Werror=pointer-sign",
"-Werror=pointer-arith",
"-Qunused-arguments",
"-DHOOK_ENABLE",
]
if (!is_asan) {
cflags_auto += [ "-DHOOK_ENABLE" ]
}
cflags_c99fse = [
"-std=c99",
"-nostdinc",
......@@ -213,8 +216,11 @@ template("musl_libs") {
"__MUSL__",
"_LIBCPP_HAS_MUSL_LIBC",
"__BUILD_LINUX_WITH_CLANG",
"HOOK_ENABLE",
]
if (!is_asan) {
defines += [ "HOOK_ENABLE" ]
}
ldflags = [ "-nostdlib" ]
libs = []
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册